This commit is contained in:
2025-11-10 21:33:00 +08:00
parent dc0c55c495
commit 9059a24637
9 changed files with 258 additions and 7 deletions

View File

@@ -11,6 +11,17 @@ NS_ASSUME_NONNULL_BEGIN
@interface BaseViewController : UIViewController
/// 是否启用自定义导航栏(默认 yes
/// 开启后:隐藏系统导航栏,显示顶部自定义 navView含返回按钮和中间标题
@property (nonatomic, assign) BOOL kb_enableCustomNavBar;
/// 顶部自定义导航栏视图(懒加载)。
@property (nonatomic, strong, readonly) UIView *kb_navView;
/// 自定义导航栏中间标题(懒加载)。
@property (nonatomic, strong, readonly) UILabel *kb_titleLabel;
/// 自定义导航栏左侧返回按钮(懒加载)。
@property (nonatomic, strong, readonly) UIButton *kb_backButton;
@end
NS_ASSUME_NONNULL_END