Swift3.0 动画(缩放、晃动、翻转)

Swift3.0写--2.左右晃动 func shakeAnimation(){ //移除self.mineTopView.layer上的全部动画,能够避免屡次重复添加 self.mineTopView.layer.removeAllAnimations() let momAnimation = CABasicAnimation(keyPath: "transform.rotati
相关文章
相关标签/搜索