修改引导逻辑

This commit is contained in:
2025-11-03 19:00:47 +08:00
parent edf88721da
commit cac2f13b88
4 changed files with 28 additions and 11 deletions

View File

@@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
/// 点击页面左上角“返回”时回调。用于让调用方(如 KBGuideVC一起退出等自定义行为。
/// 注意:避免与按钮 action `onBack` 重名,故命名为 backHandler。
@property (nonatomic, copy, nullable) void (^backHandler)(void);
@property (nonatomic, strong) UIButton *backButton; // 左上角返回
@end

View File

@@ -6,10 +6,8 @@
//
#import "KBPermissionViewController.h"
#import <TargetConditionals.h>
@interface KBPermissionViewController ()
@property (nonatomic, strong) UIButton *backButton; //
@property (nonatomic, strong) UILabel *titleLabel; //
@property (nonatomic, strong) UILabel *tipsLabel; //
@property (nonatomic, strong) UIView *cardView; //