我现在正在学习iOS开发中的UITableView类,我想在导航到多个UITableViewCells的部分中实现Tap一个UITableViewCell,该附件类型用于复选标记,我该怎么办?请告诉我如何做以获取详细信息,非常感谢您的帮助!
Like this picture:http://i.stack.imgur.com/kowdl.jpg
我现在正在学习iOS开发中的UITableView类,我想在导航到多个UITableViewCells的部分中实现Tap一个UITableViewCell,该附件类型用于复选标记,我该怎么办?请告诉我如何做以获取详细信息,非常感谢您的帮助!
Like this picture:http://i.stack.imgur.com/kowdl.jpg
In your current view controller, you should implement didSelectRowAtIndexPath, you will need to create another UITableViewController, and when a cell is selected in your didSelectRowAtIndexPath, you will push your new UITableViewController.
您需要实现UITableView委托方法-
- (void)tableView:(UITableView *)tView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
现在要确定具体UITableViewCell可以使用indexPath-indexPath.row和indexPath.section.