Skip to content
Permalink
Browse files
Fix unresponsive main window after hide
  • Loading branch information
NiklasMerz committed Sep 24, 2019
1 parent 79b1bb6 commit 855394628e60f27eb813157918e26f1cf3f54b9c
Showing 1 changed file with 4 additions and 0 deletions.
@@ -340,6 +340,10 @@ - (void)show:(CDVInvokedUrlCommand*)command withNoAnimate:(BOOL)noAnimate

- (void)hide:(CDVInvokedUrlCommand*)command
{
// Set tmpWindow to hidden to make main webview responsive to touch again
// https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
self->tmpWindow.hidden = YES;

if (self.inAppBrowserViewController == nil) {
NSLog(@"Tried to hide IAB after it was closed.");
return;

0 comments on commit 8553946

Please sign in to comment.