我现在正在学习 iOS 开发中的 UITableView 类,我想在导航到多个 UITableViewCells 的部分中实现点击一个 UITableViewCell,该附件类型用于复选标记,我应该怎么做?请告诉我如何做以获取详细信息,非常感谢为您的帮助!
Like this picture:http://i.stack.imgur.com/kowdl.jpg
最佳答案
您需要实现 UITableView
委托(delegate)方法-
- (void)tableView:(UITableView *)tView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
现在要识别特定的 UITableViewCell
,您可以使用 indexPath
- indexPath.row
和 indexPath.section
。
关于objective-c - 如何实现在一个部分中点击一个 UITableViewCell 导航到多个 UITableViewCells 以获取详细信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11240967/