Closed drisharm closed 4 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'
This is too vague, please provide a crashlog
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'