在使用reloadData 或者是 对Section Cell 进行刷新时会出现屏幕闪烁的问题可以用下面的方法解决,

 

[UIView performWithoutAnimation:^{ 
[self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:4]]; 
}];

[UIView performWithoutAnimation:^{ 
[self.collectionView reloadData]; 
}];

 

相关文章:

  • 2021-11-18
  • 2022-01-29
  • 2022-12-23
  • 2021-12-04
  • 2021-06-05
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-06-23
  • 2021-09-28
  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案