animationDidStop:finished:
delegate method — and I can see [view_A.layer animationForKey:theAnimationKey]
is nil
, view_A.layer.animationKeys
is nil
and view_A.layer.animations
(print view_A.layer in GDB can reveal that) is empty. (Question 1: Are all animations removed automatically when view is removed from its superview?)[view_A.layer removeAnimationForKey:theAnimationKey]
!I believe it is a bug of Core Animation. Here is my radar: http://openradar.appspot.com/radar?id=6165852231565312.