Swift3.0 動畫(縮放、晃動、翻轉)

Swift3.0寫--2.左右晃動 func shakeAnimation(){ //移除self.mineTopView.layer上的全部動畫,能夠避免屢次重複添加 self.mineTopView.layer.removeAllAnimations() let momAnimation = CABasicAnimation(keyPath: "transform.rotati
相關文章
相關標籤/搜索