标签:
1 //一个section刷新
2
3 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
4
5 [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
6
7
8
9 //一个cell刷新
10
11 NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];
12
13 [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
标签:
原文地址:http://www.cnblogs.com/-yun/p/5779126.html