Files
keyboard/keyBoard/Class/Base/VC/BaseViewController.h
2025-11-11 16:46:05 +08:00

30 lines
864 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
/// 说明:系统导航栏在 Base 内始终隐藏;
/// - 当该值为 YES显示自定义 navView
/// - 当该值为 NO自定义 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