Fix unresponsive main window after hide
This commit is contained in:
parent
79b1bb61a0
commit
855394628e
@ -340,6 +340,10 @@ static CDVWKInAppBrowser* instance = nil;
|
|||||||
|
|
||||||
- (void)hide:(CDVInvokedUrlCommand*)command
|
- (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) {
|
if (self.inAppBrowserViewController == nil) {
|
||||||
NSLog(@"Tried to hide IAB after it was closed.");
|
NSLog(@"Tried to hide IAB after it was closed.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user