tableView刷新某一section或者某一cell
作者:
天亮説晚安 | 来源:发表于
2015-12-28 15:22 被阅读247次//一个section刷新
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
//一个cell刷新
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
本文标题:tableView刷新某一section或者某一cell
本文链接:https://www.haomeiwen.com/subject/mknbhttx.html
网友评论