On Jan 28, 2010, at 8:22 AM, patrick machielse wrote:

> I'm working on an iPhone application and I need some advice on displaying 
> animated content (think: cartoon like movies). Hopefully someone can point me 
> in the right direction.
> 
> Goal
> ----
> The application needs to display short 2 second 'clips' of animated 
> characters in a loop. Animation can be triggered by tapping the screen.
> 
> So, what are the current options for displaying movie like content in your 
> app and have a decent control over playback and display?
> 

For simple "flipbook style" animation, you can load up all the frames as an 
array of UIImages and then use a UIImageView's animationImages to display them. 
 Doesn't give you a whole lot of control (you basically get to set the frame 
rate, number of times to loop and the frames) but this approach works 
reasonable for handling things like animated GIFs (provided that you write the 
code to decode the GIF files into the frames you need).

Glenn Andreas                      gandr...@gandreas.com 
The most merciful thing in the world ... is the inability of the human mind to 
correlate all its contents - HPL

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to