File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,7 @@ - (void)hide:(CDVInvokedUrlCommand*)command
324
324
// Set tmpWindow to hidden to make main webview responsive to touch again
325
325
// https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
326
326
self->tmpWindow .hidden = YES ;
327
+ self->tmpWindow = nil ;
327
328
328
329
if (self.inAppBrowserViewController == nil ) {
329
330
NSLog (@" Tried to hide IAB after it was closed." );
@@ -677,7 +678,8 @@ - (void)browserExit
677
678
// Set tmpWindow to hidden to make main webview responsive to touch again
678
679
// Based on https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
679
680
self->tmpWindow .hidden = YES ;
680
-
681
+ self->tmpWindow = nil ;
682
+
681
683
if (IsAtLeastiOSVersion (@" 7.0" )) {
682
684
if (_previousStatusBarStyle != -1 ) {
683
685
[[UIApplication sharedApplication ] setStatusBarStyle: _previousStatusBarStyle];
You can’t perform that action at this time.
0 commit comments