【发布时间】:2018-06-01 06:00:49
【问题描述】:
我想从 UITableViewCell 获取数据。这是我的代码。
[selection CreateTableview:colorList withSender:sender withTitle:@"Please Select" setCompletionBlock:^(int tag){
NSLog(@"Tag--->%d",tag);
NSLog(@"Selected Row %ld",(long)indexPath.row);
updated_lenses = tag;
[self.tableview reloadData];
}];
我在这里获得了选定的索引,但我想在该单元格中获取值,我该如何获取它。? 注意:我没有使用 DidSelectRowAtIndexPath 方法。
【问题讨论】:
-
显示你的 cellforrowcode
标签: ios objective-c uitableview