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.
1 parent f5d1279 commit 9f65b65Copy full SHA for 9f65b65
Parse/Internal/PFAlertView.m
@@ -52,6 +52,9 @@ + (void)showAlertWithTitle:(NSString *)title
52
53
UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow;
54
UIViewController *viewController = keyWindow.rootViewController;
55
+ while (viewController.presentedViewController) {
56
+ viewController = viewController.presentedViewController;
57
+ }
58
59
[viewController presentViewController:alertController animated:YES completion:nil];
60
} else {
0 commit comments