开发者

changing animationDuration while animating

Hi all i want to change animationDuration of a UIImageView while it's animating ... and want t开发者_JS百科o do this 60 times a second... is there any way to do this ? When I try to do it, the animation stops ...


Why do you want to do this? There are different curves to make things speed up or slow down. If you do really need to do this, just start a new animation with the same parameters, but with your new duration. It should then begin the animation from wherever it had got to and carry on from there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜