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
commit 27fe8ec8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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];