We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a8978d + 5b54fd1 commit 661a46aCopy full SHA for 661a46a
src/Blur/MRBlurView.m
@@ -151,7 +151,7 @@ - (UIImage *)snapshot {
151
BOOL wasHidden = self.superview.hidden;
152
self.superview.hidden = YES;
153
154
- UIWindow *window = UIApplication.sharedApplication.delegate.window;
+ UIWindow *window = self.window;
155
156
// Absolute origin of receiver
157
CGPoint origin = self.bounds.origin;
0 commit comments