
UIView.animate(withDuration: 0.25) {
self.tipIcon.transform = CGAffineTransform(rotationAngle: CGFloat(.pi + 0.001))
}
UIView.animate(withDuration: 0.25) {
self.tipIcon.transform = .identity
}

UIView.animate(withDuration: 0.25) {
self.tipIcon.transform = CGAffineTransform(rotationAngle: CGFloat(.pi + 0.001))
}
UIView.animate(withDuration: 0.25) {
self.tipIcon.transform = .identity
}
本文标题:iOS 之 UIView.animate 旋转动画之就近原则
本文链接:https://www.haomeiwen.com/subject/opyixftx.html
网友评论