p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Menlo; color: #1e9421; background-color: #ffffff }
p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Menlo; color: #3e1e81; background-color: #ffffff }
p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Menlo; color: #000000; background-color: #ffffff }
span.s1 { color: #000000 }
span.s2 { color: #6122ae }
span.s3 { color: #c42275 }
span.s4 { color: #539aa4 }
span.s5 { color: #3e1e81 }
Swift 关闭视图的过度动画
//关闭视图过渡动画
UIView.performWithoutAnimation {
//关闭CALayer的隐式动画
CATransaction.setDisableActions(true)
self.collectionView.reloadData()
CATransaction.commit()
}
原文地址:https://www.cnblogs.com/chenxiaopao/p/9119787.html
时间: 2024-11-12 13:37:59