0
我在我的項目中使用CABasicAnimation。我使用repeatcount.but但我想改變tovalue每當計數增加。任何幫助嗎?在運行時修改CABasicAnimation的setvalue?
我在我的項目中使用CABasicAnimation。我使用repeatcount.but但我想改變tovalue每當計數增加。任何幫助嗎?在運行時修改CABasicAnimation的setvalue?
如果你想改變toValue
每當動畫經過一個週期,你應該離開repeatCount
1,使用animationDidStop:finished:
創建一個新的動畫與改變toValue
,等等。