tableView局刷新
2015-10-08 13:56
260 查看
//一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic]; //一个cell刷新 NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0]; [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
相关文章推荐
- Memcached深度分析
- 全景:迭代最近点ICP算法入门(点匹配)
- 通过分析 JDK 源代码研究 TreeMap 红黑树算法实现
- 程序员鼓励师到底是啥?
- ServerU FTP 9.1.0.5完美破解版 使用教程 学校局域网上课上传下载文件用--图片来自网络
- 跨站点请求伪造
- 【扣丁学堂】谁说企业没人要老程序员
- ZOJ-3633-Alice's present
- js控制5秒后页面自动跳转
- angular.js基础—服务(service)及其调用
- 论c程序员转java学习
- 简单理解js面向对象工厂方式
- 转 GRE -- ME 似乎有件事,一直等待着我去做,努力去做。
- 手机号码归属地接口开发文档及调用实例
- 如何导入support_V4包中源码
- iOS退出键盘方法
- 嵌入式C语言中的Doxygen注释模板
- /persistence.cpp:5008: error: (-2) The node does not represent a user object (unknown type?) in func
- mac grep: /usr/include/php/main/php.h: No such file or directory
- Windows 10 windows update失败,无法更新补丁