user973612
user973612

Reputation: 105

Can I overlay animated gifs with UIImageView on an iPhone?

I want to overlay an animated gif onto the camera preview on an iPhone with UIImageView. Currently, following this post: http://www.musicalgeometry.com/?p=1273 I am able to to so with PNGs. How can I do this with animated gifs? Specifically, over the live view of the camera?

Upvotes: 1

Views: 1142

Answers (1)

logancautrell
logancautrell

Reputation: 8772

UIImageView doesn't support animated gifs. Checkout this post on how to deconstruct an animated gif and use it with a UIImageView.

Link

EDIT:

Here is a link to the docs on a camera overlay view.

http://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/doc/uid/TP40007070-CH3-SW21

Upvotes: 1

Related Questions