UITableView有时候需要对特定的section或cell进行刷新,可以尝试以下方法:
//刷新特定section
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:7];
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
//刷新特定cell
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:2 inSection:0];
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];