获取当前UITableViewCell在TableView上的索引
2016-03-03 16:55
537 查看
UITableView *tableView = (id)[[selfsuperview]
superview];
NSIndexPath *indexPath = [tableView
indexPathForCell:self];
superview];
NSIndexPath *indexPath = [tableView
indexPathForCell:self];
相关文章推荐
- iOS:设置UILabel行距实例
- How to remove the bottom gap of UIPageViewController
- 开始学习SOUI.
- Android优化——UI检视利器:Hierarchy Viewer
- PWA PSI statusingclient.UpdateStatus更新任务页面的AssnCustomFields的TextValue值
- @PathVariable和@RequestParam的区别,@SessionAttributes
- Android Volley完全解析(三),定制自己的Request
- ffplay中的FrameQueue的自我理解
- MVC5 + EF6 入门完整教程二:从前端的UI开始
- 一些常见的蓝牙(Bluetooth)相关的技术术语表
- GDB display memory value
- Educational Codeforces Round 9(D. Longest Subsequence(筛法))
- 简单的build模式
- UIImageView自适应图片大小
- GUISkin 自定义皮肤样式
- IOS build 与version,InfoDictionary version的区别
- Axis2 start guide
- ZOJ 3601 9th省赛 B Unrequited Love【模拟】
- Handler消息传递机制(二)Handler,Loop,Message,MessageQueue的工作原理
- -[UITableView copyWithZone:]: unrecognized selector sent to instance 0x7ff04d02b400