mayoff / uiimage-from-animated-gif

A UIImage category that loads animated GIFs
Creative Commons Zero v1.0 Universal
877 stars 164 forks source link

Anyway to stop animation? Pause or otherwise? #5

Closed chrisallick closed 11 years ago

chrisallick commented 11 years ago

Maybe this is outside the scope of the library, which is amazing by the way, but it would be really cool to be able to stop the animation?

There is a simple solution/hack of having a reference frame uiimage as well as the animated one, but if there were a way to pause the gif that would be awesome.

mayoff commented 11 years ago

As far as I know, there's no way in the public iOS API to pause the animation on whatever happens to be the current frame.

On Wed, Jul 31, 2013 at 12:58 PM, Chris Allick notifications@github.comwrote:

Maybe this is outside the scope of the library, which is amazing by the way, but it would be really cool to be able to stop the animation?

There is a simple solution/hack of having a reference frame uiimage as well as the animated one, but if there were a way to pause the gif that would be awesome.

— Reply to this email directly or view it on GitHubhttps://github.com/mayoff/uiimage-from-animated-gif/issues/5 .