This commit is contained in:
2025-11-11 16:46:05 +08:00
parent a1a38d821c
commit 105e2ddf9b
7 changed files with 12 additions and 52 deletions

View File

@@ -104,19 +104,8 @@ typedef NS_ENUM(NSInteger, KBSearchSection) {
}
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
// 使
[self.navigationController setNavigationBarHidden:YES animated:animated];
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
// push
if (self.isMovingFromParentViewController || self.isBeingDismissed) {
[self.navigationController setNavigationBarHidden:NO animated:animated];
}
}
// BaseViewController
// VC Base
#pragma mark - Private