Files
keyboard/keyBoard/Class/Base/VC/BaseViewController.h
2025-11-10 21:33:00 +08:00

28 lines
786 B
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.

//
// BaseViewController.h
// keyBoard
//
// Created by Mac on 2025/11/7.
//
#import <UIKit/UIKit.h>
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