CB-12366: (ios) Reduce tmpWindow level to prevent overlapping statusbar

This closes #209
This commit is contained in:
Reid Beels 2017-01-18 16:33:27 -08:00 committed by Julio César
parent 783c23b663
commit c6ffd69e9c

View File

@ -243,7 +243,7 @@
UIWindow *tmpWindow = [[UIWindow alloc] initWithFrame:frame]; UIWindow *tmpWindow = [[UIWindow alloc] initWithFrame:frame];
UIViewController *tmpController = [[UIViewController alloc] init]; UIViewController *tmpController = [[UIViewController alloc] init];
[tmpWindow setRootViewController:tmpController]; [tmpWindow setRootViewController:tmpController];
[tmpWindow setWindowLevel:UIWindowLevelAlert]; [tmpWindow setWindowLevel:UIWindowLevelNormal];
[tmpWindow makeKeyAndVisible]; [tmpWindow makeKeyAndVisible];
[tmpController presentViewController:nav animated:YES completion:nil]; [tmpController presentViewController:nav animated:YES completion:nil];