update status bar for presented view controller
This commit is contained in:
parent
a254e7d882
commit
935b32ed6d
@ -308,6 +308,8 @@
|
||||
|| self.manager
|
||||
|| self.loadObject.requestParameters.tabWasPressed);
|
||||
}
|
||||
} else {
|
||||
[[MVMCoreUISession sharedGlobal].splitViewController.parentViewController setNeedsStatusBarAppearanceUpdate];
|
||||
}
|
||||
}
|
||||
|
||||
@ -498,6 +500,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
//this method is needed for getting status bar style from present viewcotnroller
|
||||
- (UIStatusBarStyle)preferredStatusBarStyle {
|
||||
if ([self respondsToSelector:@selector(defaultStatusBarStyle)]) {
|
||||
return [self defaultStatusBarStyle];
|
||||
} else {
|
||||
return UIStatusBarStyleDefault;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
|
||||
|
||||
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user