TableView 和 CollectionView 刷新 单
2017-06-12 本文已影响70人
爱喝农药de清凉
tableview刷新某一行
[tabelView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:[NSIndexPath indexPathForRow:IndexPath.row inSection:IndexPath.section], nil] withRowAnimation:UITableViewRowAnimationNone];
collection刷新某一行
[collectionView reloadItemsAtIndexPaths:@[IndexPath]];