• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Displaying animated content in iPhone app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying animated content in iPhone app


  • Subject: Re: Displaying animated content in iPhone app
  • From: glenn andreas <email@hidden>
  • Date: Thu, 28 Jan 2010 08:47:17 -0600

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                      email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL

_______________________________________________

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

References: 
 >Displaying animated content in iPhone app (From: patrick machielse <email@hidden>)

  • Prev by Date: Hot to define a connection from source code?
  • Next by Date: Re: Uncaught exceptions not terminating my app
  • Previous by thread: Displaying animated content in iPhone app
  • Next by thread: Re: Displaying animated content in iPhone app
  • Index(es):
    • Date
    • Thread