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

Fix #79 - renderInContext crash on iOS 8 #99

Merged
merged 1 commit into from Sep 2, 2015
Merged

Fix #79 - renderInContext crash on iOS 8 #99

merged 1 commit into from Sep 2, 2015

Conversation

hongrich
Copy link
Contributor

@hongrich hongrich commented Feb 4, 2015

If any of the sublayers of underlyingLayer has empty bounds, renderInContext crashes on iOS 8 (but does not on iOS 8). This change hides those layers with empty bounds and un-hides them back during the restore process that already happens.

This should fix issue #79

@lavoy
Copy link

lavoy commented May 6, 2015

Did you mean that it does not crash on iOS 7? If so, I can confirm that it isn't an issue for us on iOS 7 but is on iOS 8.

nicklockwood added a commit that referenced this pull request Sep 2, 2015
Fix #79 - renderInContext crash on iOS 8
@nicklockwood nicklockwood merged commit c31088a into nicklockwood:master Sep 2, 2015
@hongrich hongrich deleted the renderInContext-iOS8 branch September 4, 2015 19:51
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