-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes with iOS 16 and Swift 5.6 #11
Comments
Anyone got any solution for this? |
crash occurring on the line of |
fixed by add defer: let cfProperties = CGImageSourceCopyPropertiesAtIndex(source, index, nil) |
Change code after the following line:
Create gifPropertiesPointer and deallocate it will fix the issue in iOS 16.x
I have tried and it's working fine for me. Hope it will help you. Thanks! |
let delaySeconds = UIImage.delayForImageAtIndex(Int(i),
source: source)
delays.append(Int(delaySeconds * 1000.0)) // Seconds to ms
The text was updated successfully, but these errors were encountered: