iOS TableView刷新某一行

刷新某个section   it

NSIndexSet *indexSet=[[NSIndexSet alloc] initWithIndex:须要刷新的section(NSInteger)];    io

[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];    table

//刷新某一行row im

NSIndexPath *indexPath=[NSIndexPath indexPathForRow:2 inSection:1]; //具体的某一行   tab

[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNonetableview

相关文章
相关标签/搜索