nicklockwood / FXBlurView

[DEPRECATED]
Other
4.94k stars 713 forks source link

Fix #79 - renderInContext crash on iOS 8 #99

Closed hongrich closed 9 years ago

hongrich commented 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.

This should fix issue #79

lavoy commented 9 years ago

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.