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];