Manish patel Manish patel - 1 year ago 88
Git Question

Can i show GIF images in UIImageView in IOS10?

i have used gif image to show in UIImageView but there are showing only static images.what is the reason behined it i don't know.

so somebody please help me to solve this.

Answer Source

I recommend you to use SwiftGif.

Import the Gif.swift in your project and do the following:

// Returns an animated UIImage
let jeremyGif = UIImage.gifWithName("jeremy")

// Use the UIImage in your UIImageView
let imageView = UIImageView(image: jeremyGif)

For Objective c You can use this FLAnimatedImage

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download