Re: [iPhone 3.0] UIImage startAnimating -- how to tell when it's finished?
Re: [iPhone 3.0] UIImage startAnimating -- how to tell when it's finished?
- Subject: Re: [iPhone 3.0] UIImage startAnimating -- how to tell when it's finished?
- From: "Henry McGilton (Boulevardier)" <email@hidden>
- Date: Sat, 8 Aug 2009 20:21:42 -0700
On Aug 8, 2009, at 6:09 PM, John Michael Zorko wrote:
Hello, all ...
I load a UIImageView with an array of PNG images, and call
startAnimating -- this works very well. However, I need to know
when the animation is done, because I need to have a thread load the
next animation. Unfortunately UIImageView doesn't implement the
animationDidStop:finished method :-(
If anyone can give me some pointers on this, i'd appreciate it :-)
My first thought (but I have not had time to explore it) is to look at
the
animation delegate stuff in UIView. There may be a possibility that
you can start your UIImageView animating, then set yourself as
the UIView's/UIImageView's animation delegate and implement the
method you specified for animationDidStopSelector . . .
Cheers,
. . . . . . . . Henry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden