iphone - Will sending -removeAllAnimations to a layer also propagate to all it's sublayers? -


I'm surprised if I send all animation to a parent layer, then the sub-animation will run.

removeAllAnimations according to the document:

Attach all the animations receiver .

You have to walk again through the sub-agents and also remove the animation from them:

 for  ([CALayer * layer in container layer sublear] } {[Layer removalAllimations]; }  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -