阅读背景:

我如何成功地同时动画多个CALayers ?

来源:互联网 

I'm successfully animating a single layer to alter its position along an arbitrary path on my screen. I'm now attempting to replicate this animation multiple times to give the illusion of something bending round a corner. I put the code inside a CATransaction and put it in a loop incrementing the starting position for each iteration of the loop, then committed the CATransaction after the loop. The effect I see is the same if the code was not in a loop (That is, just one layer being animated) then at the end of the animation all the layers appear (Before my delegate removes them at the end of the animation in animationDidStop)I'm successfully animating a single layer to al




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: