animationWithKeyPath的值:
transform.scale = 比例轉(zhuǎn)換
transform.scale.x = 闊的比例轉(zhuǎn)換
transform.scale.y = 高的比例轉(zhuǎn)換
transform.rotation.z = 平面圖的旋轉(zhuǎn)
opacity = 透明度
margin
zPosition
backgroundColor ? ?背景顏色
cornerRadius ? ?圓角
borderWidth
bounds
contents
contentsRect
cornerRadius
frame
hidden
mask
masksToBounds
opacity
position
shadowColor
shadowOffset
shadowOpacity
shadowRadius
系統(tǒng)默認(rèn)動(dòng)畫時(shí)間
[CATransactionanimationDuration]