CB-12875: (iOS) Pushes the inappbrowser window to a higher ui level than the existing apps window. (#284)
This commit is contained in:
parent
de86501026
commit
dc5329d157
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@ Thumbs.db
|
||||
*.log
|
||||
*.swp
|
||||
*.user
|
||||
*.idea
|
||||
|
||||
node_modules
|
||||
|
||||
|
@ -244,8 +244,9 @@
|
||||
tmpWindow = [[UIWindow alloc] initWithFrame:frame];
|
||||
}
|
||||
UIViewController *tmpController = [[UIViewController alloc] init];
|
||||
double baseWindowLevel = [UIApplication sharedApplication].keyWindow.windowLevel;
|
||||
[tmpWindow setRootViewController:tmpController];
|
||||
[tmpWindow setWindowLevel:UIWindowLevelNormal];
|
||||
[tmpWindow setWindowLevel:baseWindowLevel+1];
|
||||
|
||||
[tmpWindow makeKeyAndVisible];
|
||||
[tmpController presentViewController:nav animated:YES completion:nil];
|
||||
|
Loading…
Reference in New Issue
Block a user