原理和上一篇是相同的,不同之处是keyPath
属性,缩放时是keyPath
是 transform.scale,旋转时keyPath
是transform.rotation。
1 | class ScaleRotationViewController: UIViewController { |
AndyRon's Blog
原理和上一篇是相同的,不同之处是keyPath
属性,缩放时是keyPath
是 transform.scale,旋转时keyPath
是transform.rotation。
1 | class ScaleRotationViewController: UIViewController { |
微信打赏
支付宝打赏