cdts/xdts-ios 3/TreeHole/CYHResetCode/THBaseViewController/Controller/THViewController.m
2023-07-27 09:20:00 +08:00

75 lines
1.4 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// THViewController.m
// TreeHole
//
// Created by iOS on 2023/1/31.
//
//
#import "THViewController.h"
@interface THViewController ()
@end
@implementation THViewController
- (void)didInitialize {
[super didInitialize];
// init 时做的事情请写在这里
self.hidesBottomBarWhenPushed = YES;
}
- (void)initSubviews {
[super initSubviews];
// 对 subviews 的初始化写在这里
}
- (void)viewDidLoad {
[super viewDidLoad];
// 对 self.view 的操作写在这里
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
}
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
}
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
}
- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
}
- (void)setupNavigationItems {
[super setupNavigationItems];
// self.title = @"";
}
#pragma mark - NavigationBar
/// 设置 titleView 的 tintColor
- (nullable UIColor *)qmui_titleViewTintColor {
return UIColor.whiteColor;
}
/// 设置当前导航栏的 barTintColor默认为 NavBarBarTintColor
//- (nullable UIColor *)qmui_navigationBarBarTintColor {
// return UIColor.whiteColor;
//}
- (BOOL)shouldCustomizeNavigationBarTransitionIfHideable {
return YES;
}
@end