iOS UITableview 刷新某一个cell 或 sect
作者:
彗星来的那一夜 | 来源:发表于
2016-12-13 10:08 被阅读13次//一个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];
本文标题:iOS UITableview 刷新某一个cell 或 sect
本文链接:https://www.haomeiwen.com/subject/shivmttx.html
网友评论