//一个section刷新
NSIndexSet * indexSet = [[NSIndexSet alloc]initWithIndex:1];
[tableview reloadSections: indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
//刷新单个Cell
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:2 inSection:1];
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
网友评论