UITableView刷新局部
2016-02-24 10:10
471 查看
//局部section刷新 NSIndexSet *nd = [[NSIndexSet alloc] initWithIndex:1]; //刷新第二个section [self.tableView reloadSections:nd withRowAnimation:UITableViewRowAnimationAutomatic]; //局部cell刷新 NSIndexPath *te=[NSIndexPath indexPathForRow:2 inSection:0];//刷新第一个section的第二行 [self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
相关文章推荐
- equinox的plugin fragment开发(实现runtime加载tools.jar)
- iOS: setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key name.
- iOS开发笔记10:圆点缩放动画、强制更新、远程推送加语音提醒及UIView截屏
- hibernate案例入门一query transaction criteria sessionfactory和session区别 get和load的区别 opensession 和 getcurre
- arduino mega 2560 针脚说明
- API Guides(四)——Providing Resources To Resource Types
- 第一章 遇见HADOOP 第四节 超越批处理(hadoop:the definitive guide)
- mysql primary key & unique key
- iOS UISearchBar UISearchController
- iOS应用开发中StoryBoard搭建UI界面的基本使用讲解
- BlockingQueue
- UIDynamic物理引擎
- codeforces 609F. Frogs and mosquitoes 二分+线段树
- Volley源码解析<四> RequestQueue请求队列
- UITextField 监听数值变化的三种方法
- Request.Form[""]学习过程中遇到的异常问题
- 解决:BeanNotOfRequiredTypeException办法 @Autowired和@Resource注解的不同
- Leetcode 63:Unique Paths II
- EPUBBuilder编辑器新版
- iOS开发UI篇—transframe属性(形变)