Open ChrisRockC opened 7 years ago
[UIView performWithoutAnimation:^{ [_collectionView reloadSections:indexSet]; }];
//关闭CALayer隐式动画 [CATransaction begin]; [CATransaction setDisableActions:YES]; //刷新 [CATransaction commit];
最后发现是因为SDWebImag的原因
之前在AppDelegate 里面 设置清除SDWebimage缓存的操作 每次都是重新加载图片