美文网首页
tableView刷新闪烁问题解决

tableView刷新闪烁问题解决

作者: Tyler刘 | 来源:发表于2018-02-28 14:56 被阅读0次

[UIView performWithoutAnimation:^{

                [_collectionView reloadSections:indexSet];

}];

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

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

相关文章

网友评论

      本文标题:tableView刷新闪烁问题解决

      本文链接:https://www.haomeiwen.com/subject/wcabxftx.html