CollectionView或TableView刷新闪烁的问题

2019-07-21  本文已影响0人  北纬357

方法1

 CATransaction.setDisableActions(true)
    // update or reload here
 CATransaction.commit()

方法2

 UIView.performWithoutAnimation {
       // update or reload here
 }
上一篇 下一篇

猜你喜欢

热点阅读