Fer*_*roz 4 iphone xcode objective-c ios
我有桌子视图.对于特定的单元格,我设置了一个标记值,现在,在我的方法中,我正在接收索引路径,如何使用索引路径访问cell.tag.
小智 13
UITableViewCell *cell = [theTableView cellForRowAtIndexPath:theIndexPath];
NSInteger tag = cell.tag;
Run Code Online (Sandbox Code Playgroud)
我希望这有帮助.
| 归档时间: |
|
| 查看次数: |
16324 次 |
| 最近记录: |