uitableview 刷新一行
2015-09-08 17:59
267 查看
ios UITableview 刷新某一行 或 section
//一个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];
相关文章推荐
- IOS 自动布局指南1 介绍(auto layout guide)
- UVA 11235 Frequent values (RMQ )
- Core Data Programming Guid
- iOS UITabBarController按钮凸起效果实现
- 开源项目分析之UIL
- easyui 模糊匹配解决办法 Firefox不会自动匹配
- guibin
- values语言支持文件命名格式
- Algorithms—95.Unique Binary Search Trees II
- virtualbox增强功能-VBoxGuestAdditions安装
- quick 3.3加载Spine问题,quick3.3加载spine
- Android view中的requestLayout和invalidate方法
- easyUI合并行的单元格
- java.lang.IllegalArgumentException: addChild: Child name '/SSHE' is not unique
- Caused by: java.lang.IllegalArgumentException: addChild: Child name 'localhost' is not unique
- confluence 配置
- UITableView topview渐变的效果
- UIScrollView
- 如何隐藏UITableView中底部多余的空白行
- DuiLib响应按钮事件