CAAnimation動(dòng)畫 keyPath 對(duì)應(yīng)的屬性
CABasicAnimation動(dòng)畫
根據(jù)XYZ旋轉(zhuǎn)
根據(jù)X軸旋轉(zhuǎn) transform.rotation.x
根據(jù)Y軸旋轉(zhuǎn) transform.rotation.y
根據(jù)Z軸旋轉(zhuǎn) transform.rotation.z
改變frame大小
bounds.size
3D旋轉(zhuǎn)
transform
CAKeyframeAnimation
多種顏色 backgroundColor
運(yùn)行軌跡 position
晃動(dòng) position.x
CAAnimation;// 抽象類
CAPropertyAnimation;// 抽象類CAAnimation的子類
CABasicAnimation;// CAPropertyAnimation的子類
CAKeyframeAnimation;// CAPropertyAnimation的子類