collectionView/tableview reloadSections/reloaddata时去掉动画无效时可以尝试使用
[UIView performWithoutAnimation:^{
[_collectionView reloadSections:[NSIndexSet indexSetWithIndex:2]];
//刷新操作
}];
collectionView/tableview reloadSections/reloaddata时去掉动画无效时可以尝试使用
[UIView performWithoutAnimation:^{
[_collectionView reloadSections:[NSIndexSet indexSetWithIndex:2]];
//刷新操作
}];
转载于:https://www.cnblogs.com/levy/p/collectionViewtableview-shua-xin-shi-guan-bi-dong-.html