File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,6 @@ - (void)close:(CDVInvokedUrlCommand*)command
81
81
return ;
82
82
}
83
83
84
- // Set tmpWindow to hidden to make main webview responsive to touch again
85
- // https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
86
- self->tmpWindow .hidden = YES ;
87
-
88
84
// Things are cleaned up in browserExit.
89
85
[self .inAppBrowserViewController close ];
90
86
}
@@ -699,6 +695,10 @@ - (void)browserExit
699
695
// Set navigationDelegate to nil to ensure no callbacks are received from it.
700
696
self.inAppBrowserViewController .navigationDelegate = nil ;
701
697
self.inAppBrowserViewController = nil ;
698
+
699
+ // Set tmpWindow to hidden to make main webview responsive to touch again
700
+ // Based on https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
701
+ self->tmpWindow .hidden = YES ;
702
702
703
703
if (IsAtLeastiOSVersion (@" 7.0" )) {
704
704
if (_previousStatusBarStyle != -1 ) {
You can’t perform that action at this time.
0 commit comments