Skip to content
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

GIFImageView: add missing call to super #159

Merged
merged 3 commits into from
Aug 3, 2020
Merged

Conversation

jverdi
Copy link
Contributor

@jverdi jverdi commented Jun 23, 2020

Building my app in Xcode 12 beta 1, I noticed that none of my images were appearing.

I found that this call to super in display(_ layer: CALayer) is important in iOS 14 - and suspect it is probably safe/good to have in previous versions too.

@kaishin
Copy link
Owner

kaishin commented Jul 8, 2020

Thanks for the PR! I didn't have the chance to try things out in Xcode 12 but I will take a look and merge your PR after that!

@jverdi
Copy link
Contributor Author

jverdi commented Jul 20, 2020

I saw some crashes from unrecognized selectors on this super call - added a commit to deal with that - but maybe this needs more investigation...

@jverdi
Copy link
Contributor Author

jverdi commented Jul 21, 2020

BTW - this issue is affecting lots of image libraries in the Xcode 12 betas:
SDWebImage/SDWebImage#3040
facebook/react-native#29268
DylanVann/react-native-fast-image#702
ibireme/YYWebImage#242

Updated to the latest solution suggested in that YYWebImage gissue

@kaishin
Copy link
Owner

kaishin commented Jul 21, 2020

Thanks for looking into this @jverdi!

@kaishin kaishin mentioned this pull request Aug 3, 2020
@kaishin
Copy link
Owner

kaishin commented Aug 3, 2020

I will merge this for now. If a future Beta fixes it we can revert.

@kaishin kaishin merged commit 9b1a646 into kaishin:master Aug 3, 2020
@honcharenko13
Copy link

@jverdi thank you for the solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants