UITableViewCell刷新

//一个section刷新

 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:indexPath.section];    
 [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];    

//一个cell刷新

NSIndexPath *indexPath=[NSIndexPath indexPathForRow:indexPath.row inSection:indexPath.section];    
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];

你可能感兴趣的:(UITableViewCell刷新)