UICollectionView刷新某个Section时
[self.collectionView performBatchUpdates:^{
[self.collectionView reloadSections:[NSIndexSetindexSetWithIndex:0]];
} completion:nil];
如果不使用[self.collectionView performBatchUpdates:^{
} completion:nil];会刷新其他地方,可能因为数据问题导致出错。
[self.collectionView performBatchUpdates:^{
如果不使用[self.collectionView performBatchUpdates:^{