CB-12875: (iOS) Pushes the inappbrowser window to a higher ui level than the existing apps window. (#284)
This commit is contained in:
committed by
Jan Piotrowski
parent
de86501026
commit
dc5329d157
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user