方法1
CATransaction.setDisableActions(true)
// update or reload here
CATransaction.commit()
方法2
UIView.performWithoutAnimation {
// update or reload here
}
方法1
CATransaction.setDisableActions(true)
// update or reload here
CATransaction.commit()
方法2
UIView.performWithoutAnimation {
// update or reload here
}
本文标题:CollectionView或TableView刷新闪烁的问题
本文链接:https://www.haomeiwen.com/subject/ipwvlctx.html
网友评论