Animating Gif in Xcode 7 Swift 3

I need help animating a gif file into a UIImageView. So far I dragged an ImageView into my storyboard and adding the gif to it, but how do I make it animate. The gif is called " fallingLeaves.gif "! If you can, please help... Thanks, TechiBot

Answered by KMT in 186519022

Traditional animated gifs aren't supported.


If you want an animation, you need a series of multiple standard/compatible gifs that are sequentially displayed via code.

Accepted Answer

Traditional animated gifs aren't supported.


If you want an animation, you need a series of multiple standard/compatible gifs that are sequentially displayed via code.

Animating Gif in Xcode 7 Swift 3
 
 
Q