On iOS 8, [window.layer renderInContext:context]; (line 185 of this file) will cause a crash if the window that the progress view is in is not the application delegates window. By using self.window, this crash has been fixed.
This doesn't occur on iOS 9, but it seems that CGContext is much more picky on iOS 8.
On iOS 8,
[window.layer renderInContext:context];
(line 185 of this file) will cause a crash if the window that the progress view is in is not the application delegates window. By usingself.window
, this crash has been fixed.This doesn't occur on iOS 9, but it seems that CGContext is much more picky on iOS 8.