I wonder if sublayer animations would continue to play if I send -removeAllAnimations to a parent layer.
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];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With