ios uitableview 刷新某一个cell 或 section
来源:互联网 发布:仿淘宝大花朵钩花帽子 编辑:程序博客网 时间:2024/05/22 13:04
//一个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];
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];
0 0
- ios uitableview 刷新某一个cell 或 section
- ios uitableview 刷新某一个cell 或 section
- ios uitableview 刷新某一个cell 或 section
- iOS UITableView 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios uitableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios UITableview 刷新某一个cell 或 section
- ios uitableview 刷新某一个cell 或 section
- iOS UITableview 刷新指定的某一个section或cell
- ios/swift UITableview 刷新某一个cell 或 section
- UITableView 刷新某一个cell 或 section
- iOS 刷新 UITableView某个 section 或 cell
- UITableview刷新cell或section iOS
- C语言指针的初始化和赋值
- nodejs中console.log输出数组显示[Circular]
- android手机赚钱软件排行2014-05-08更新
- Eclipse 用法、快捷键;Android DDMS
- 游戏开发计划——数据元素设计
- ios uitableview 刷新某一个cell 或 section
- MariaDb数据库管理系统学习(二)使用HeidiSQL数据库图形化界面管理工具
- uip_process函数解读
- Intel ISEF ----全球青少年科学竞赛的“世界杯”
- 两人斗地主客户端源码(一)
- html input中 button和submit的区别
- static_cast<>揭密
- SEAndroid 介绍及其基本实现原理
- over(Partition by...) 详细用法