From c24bb4696536212898f2f6bd175143f8b92a6346 Mon Sep 17 00:00:00 2001
From: Jesse MacFadyen <purplecabbage@gmail.com>
Date: Mon, 29 Oct 2018 13:43:37 -0700
Subject: [PATCH] This lets the default window layering do it's thing. Fixes
 #334. Fixes #314.

---
 src/ios/CDVUIInAppBrowser.m | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/ios/CDVUIInAppBrowser.m b/src/ios/CDVUIInAppBrowser.m
index 51f8122d1..501987a58 100644
--- a/src/ios/CDVUIInAppBrowser.m
+++ b/src/ios/CDVUIInAppBrowser.m
@@ -258,8 +258,6 @@ - (void)show:(CDVInvokedUrlCommand*)command
             }
             UIViewController *tmpController = [[UIViewController alloc] init];
             [tmpWindow setRootViewController:tmpController];
-            double baseWindowLevel = [UIApplication sharedApplication].keyWindow.windowLevel;
-            [tmpWindow setWindowLevel:baseWindowLevel+1];
 
             [tmpWindow makeKeyAndVisible];
             [tmpController presentViewController:nav animated:YES completion:nil];