- //一个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中刷新特定的cell或section,包括刷新一个section和刷新一个cell的具体方法。

1793

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



