- //一个section刷新
- NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:0];
- [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
- //一个cell刷新
- NSIndexPath *indexPath=[NSIndexPath indexPathForRow:0 inSection:0];
- [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
ios uitableview 刷新某一个cell 或 section
最新推荐文章于 2021-03-25 20:48:08 发布