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 6e05862 commit 32d867fCopy full SHA for 32d867f
src/ios/CDVInAppBrowser.m
@@ -270,7 +270,7 @@ - (void)hide:(CDVInvokedUrlCommand*)command
270
dispatch_async(dispatch_get_main_queue(), ^{
271
if (self.inAppBrowserViewController != nil) {
272
_previousStatusBarStyle = -1;
273
- [self.viewController dismissViewControllerAnimated:YES completion:nil];
+ [self.inAppBrowserViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
274
}
275
});
276
0 commit comments