Closed hongrich closed 9 years ago
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.
underlyingLayer
renderInContext
This should fix issue #79
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.
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