views:

124

answers:

2

Hi,

I'm doing an animation using animationImages and animationRepeatCount = 1; How can I detect when the animation is done?

Thanks, Tee

+1  A: 

Set the setAnimationDidStopSelector: to a method that takes action when the animation stops.

TechZen
+2  A: 

You don't get a notification when UIImageView animations are finished. You should use NSObject's performSelector:withObject:afterDelay: method to schedule some code to execute after the time is done, but it won't be perfect.

Adrian Kosmaczewski