CollectionView或TableView刷新闪烁的问题
2019-07-21 本文已影响0人
北纬357
方法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
}