Files
keyboard/keyBoard/VC/KBPermissionViewController.h
2025-11-03 19:00:47 +08:00

22 lines
573 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.

//
// KBPermissionViewController.h
// CustomKeyboard
//
// Created by Mac on 2025/10/27.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface KBPermissionViewController : UIViewController
/// 点击页面左上角“返回”时回调。用于让调用方(如 KBGuideVC一起退出等自定义行为。
/// 注意:避免与按钮 action `onBack` 重名,故命名为 backHandler。
@property (nonatomic, copy, nullable) void (^backHandler)(void);
@property (nonatomic, strong) UIButton *backButton; // 左上角返回
@end
NS_ASSUME_NONNULL_END