tableView刷新闪烁问题解决

2018-02-28  本文已影响0人  Tyler刘

[UIView performWithoutAnimation:^{

                [_collectionView reloadSections:indexSet];

}];

//视图转换时不执行动画,参数为block对象,来执行你要执行的代码

+ (void)performWithoutAnimation:(void (^)(void))actionsWithoutAnimation

上一篇 下一篇

猜你喜欢

热点阅读