This lets the default window layering do it's thing. Fixes #334. Fixes #314.

This commit is contained in:
Jesse MacFadyen 2018-10-29 13:43:37 -07:00
parent 10a06691f9
commit c24bb46965

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