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.
精彩评论