//刷新第一个section的第1行
NSIndexPath *te = [NSIndexPath indexPathForRow:0 inSection:0];
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationAutomatic];
//一个section刷新
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationA utomatic];
本文介绍了如何在iOS开发中使用UITableView时,针对不同的需求进行局部刷新的方法。包括刷新指定行及整个section的操作方式。
2260

被折叠的 条评论
为什么被折叠?



