I wonder if sublayer animations would continue to play if I send -removeAllAnimations to a parent layer.
views:
331answers:
1
+4
A:
As per the documentation for removeAllAnimations
:
Remove all animations attached to the receiver.
You'll need to iterate through the sublayers and remove animations from them as well:
for (CALayer* layer in [containerLayer sublayers]) {
[layer removeAllAnimations];
}
Nathan de Vries
2009-07-27 04:01:21