29 lines
583 B
Mathematica
29 lines
583 B
Mathematica
|
|
//
|
||
|
|
// BaseNavigationController.m
|
||
|
|
// keyBoard
|
||
|
|
//
|
||
|
|
// Created by Mac on 2025/10/29.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "BaseNavigationController.h"
|
||
|
|
|
||
|
|
@interface BaseNavigationController ()
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
@implementation BaseNavigationController
|
||
|
|
|
||
|
|
- (void)viewDidLoad {
|
||
|
|
[super viewDidLoad];
|
||
|
|
// Do any additional setup after loading the view.
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
|
||
|
|
if (self.viewControllers.count > 0) {
|
||
|
|
viewController.hidesBottomBarWhenPushed = true;
|
||
|
|
}
|
||
|
|
[super pushViewController:viewController animated:animated];
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|