From 6d60e4c6eb0b905a93d4bb343355d50f3b7003d8 Mon Sep 17 00:00:00 2001 From: lazydan Date: Sat, 20 Jun 2020 00:56:52 +0800 Subject: [PATCH] (ios): Fix incorrect view height from the second open time --- src/ios/CDVWKInAppBrowser.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ios/CDVWKInAppBrowser.m b/src/ios/CDVWKInAppBrowser.m index 1ec2065..7db1afc 100644 --- a/src/ios/CDVWKInAppBrowser.m +++ b/src/ios/CDVWKInAppBrowser.m @@ -1071,6 +1071,7 @@ BOOL isExiting = FALSE; // Run later to avoid the "took a long time" log message. dispatch_async(dispatch_get_main_queue(), ^{ isExiting = TRUE; + lastReducedStatusBarHeight = 0.0; if ([weakSelf respondsToSelector:@selector(presentingViewController)]) { [[weakSelf presentingViewController] dismissViewControllerAnimated:YES completion:nil]; } else {