Skip to content

Commit fcd97c5

Browse files
author
molicechen
committed
4.4.0
1 parent 1b6ff52 commit fcd97c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

QMUIKit/QMUIMainFrame/QMUINavigationController.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,11 @@ - (UIViewController *)childViewControllerForStatusBarWithCustomBlock:(BOOL (^)(U
472472
return childViewController;
473473
}
474474

475-
//- (UIViewController *)childViewControllerForStatusBarHidden {
476-
// return [self childViewControllerForStatusBarWithCustomBlock:^BOOL(UIViewController *vc) {
477-
// return vc.qmui_prefersStatusBarHiddenBlock || [vc qmui_hasOverrideUIKitMethod:@selector(prefersStatusBarHidden)];
478-
// }];
479-
//}
475+
- (UIViewController *)childViewControllerForStatusBarHidden {
476+
return [self childViewControllerForStatusBarWithCustomBlock:^BOOL(UIViewController *vc) {
477+
return vc.qmui_prefersStatusBarHiddenBlock || [vc qmui_hasOverrideUIKitMethod:@selector(prefersStatusBarHidden)];
478+
}];
479+
}
480480

481481
- (UIViewController *)childViewControllerForStatusBarStyle {
482482
return [self childViewControllerForStatusBarWithCustomBlock:^BOOL(UIViewController *vc) {

0 commit comments

Comments
 (0)