标签:
方式一:
[UIView setAnimationsEnabled:NO]; [collectionView performBatchUpdates:^{ [collectionView reloadData]; } completion:^(BOOL finished) { [UIView setAnimationsEnabled:YES]; }];
方式二:
[UIView animateWithDuration:0 animations:^{ [collectionView performBatchUpdates:^{ [collectionView reloadData]; } completion:nil]; }];
解决UICollectionView ReloadData闪一下(隐式动画)
标签:
原文地址:http://www.cnblogs.com/Rinpe/p/5850238.html