Merge pull request #336 from purplecabbage/windowlevel

This lets the default window layering do it's thing.
This commit is contained in:
Jesse MacFadyen
2018-10-29 14:01:35 -07:00
committed by GitHub
-2
View File
@@ -258,8 +258,6 @@ static CDVUIInAppBrowser* instance = nil;
}
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];