有没有人见过这样的情况,当尝试使用CGAffineTransform旋转为对称形状的UIBarButton设置动画几次,然后最终按钮变形时???optionButton.transform=CGAffineTransform(rotationAngle:CGFloat(M_PI)) 最佳答案 通过将UIButton的单位矩阵重置为单位矩阵,似乎可以解决问题。但是为什么呢???UIView.animate(withDuration:0.20,delay:0,usingSpringWithDamping:1,initialSpringV