You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gif is working fine i checked on my mac. On device the first time it completes and on second time it stops in between and restarts. It happens after every second time gif plays.
Is there a property or something else?
let url = Bundle.main.path(forResource: "loader", ofType: "gif")!
let gifData = try! Data.init(contentsOf: URL(fileURLWithPath: url))
let loaderGif = FLAnimatedImage(animatedGIFData: gifData)!
let loader = FLAnimatedImageView()
loader.animatedImage = loaderGif
loader.frame.size = CGSize(width: 50, height: 50)
loader.center = loaderView.convert(loaderView.center, from: loaderView)
loaderView.addSubview(loader)
The text was updated successfully, but these errors were encountered:
The gif is working fine i checked on my mac. On device the first time it completes and on second time it stops in between and restarts. It happens after every second time gif plays.
Is there a property or something else?
The text was updated successfully, but these errors were encountered: