Merge pull request #336 from purplecabbage/windowlevel
This lets the default window layering do it's thing.
This commit is contained in:
commit
27fe8ec8d4
@ -258,8 +258,6 @@ static CDVUIInAppBrowser* instance = nil;
|
|||||||
}
|
}
|
||||||
UIViewController *tmpController = [[UIViewController alloc] init];
|
UIViewController *tmpController = [[UIViewController alloc] init];
|
||||||
[tmpWindow setRootViewController:tmpController];
|
[tmpWindow setRootViewController:tmpController];
|
||||||
double baseWindowLevel = [UIApplication sharedApplication].keyWindow.windowLevel;
|
|
||||||
[tmpWindow setWindowLevel:baseWindowLevel+1];
|
|
||||||
|
|
||||||
[tmpWindow makeKeyAndVisible];
|
[tmpWindow makeKeyAndVisible];
|
||||||
[tmpController presentViewController:nav animated:YES completion:nil];
|
[tmpController presentViewController:nav animated:YES completion:nil];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user