iOS: TableView如何刷新指定的cell 或secti
作者:
远处那片海 | 来源:发表于
2016-06-30 11:18 被阅读11227次
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
本文标题:iOS: TableView如何刷新指定的cell 或secti
本文链接:https://www.haomeiwen.com/subject/wuoxjttx.html
网友评论