-
Notifications
You must be signed in to change notification settings - Fork 471
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
Crash when get the fullScreenImage
in Xcode 6.4
#14
Comments
Hi @kshan The type of if let fullScreenImage = asset.fullScreenImage {
// do something...
} Thanks for your used :) |
@zhangao0086 Thanks for your prompt reply. I found the solution to this in my case. Crash happen to that I post data to server via |
Thanks for your detail! Could you make a test? Change these line: public private(set) lazy var fullScreenImage: UIImage? = {
return UIImage(CGImage: self.originalAsset?.defaultRepresentation().fullScreenImage().takeUnretainedValue())
}() to that: public private(set) lazy var fullScreenImage: UIImage? = {
return UIImage(CGImage: self.originalAsset?.defaultRepresentation().fullScreenImage(). takeRetainedValue())
}() I think this will resolve your issue. Let me know if that works. TIA :) |
Hello @zhangao0086 . I tried to do this . But this is also not working. I am using iOS 9.0 |
The issue has been fixed. Here is my solution:
This will always use the same library for all accesses to the assets. |
How to solove it?
The text was updated successfully, but these errors were encountered: