alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
2.02k stars 212 forks source link

Code with swift gif is crashing in ios13 #120

Closed drisharm closed 4 years ago

drisharm commented 5 years ago

I have to show a gif in iOS app launch. This is my piece of code, it is working fine in iOS 12, but app is crashing on launch in ios13.

let logoGifImageView: UIImageView = { guard let gifImage = try? UIImage(gifName: "abc.gif") else { return UIImageView() } return UIImageView(gifImage: gifImage, loopCount: 1) }()

In pod file, I have added SwiftGif like this: pod 'SwiftyGif'

alexiscreuzot commented 4 years ago

This is too vague, please provide a crashlog