2
This commit is contained in:
28
keyBoard/Class/Login/V/KBLoginPopView.h
Normal file
28
keyBoard/Class/Login/V/KBLoginPopView.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// KBLoginPopView.h
|
||||
// 主 App 登录弹窗自定义视图(给 LSTPopView 使用)
|
||||
//
|
||||
// 说明:
|
||||
// - 仅负责展示 UI 与回调,不直接触发 Apple 登录;
|
||||
// - 外层通过 LSTPopView 承载,点击按钮后先关闭弹窗,再由外层触发 Apple 登录。
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface KBLoginPopView : UIView
|
||||
|
||||
/// 关闭按钮回调(外层收到后可调用 [pop dismiss])
|
||||
@property (nonatomic, copy, nullable) void (^closeHandler)(void);
|
||||
|
||||
/// 点击“用 Apple 登录”回调(外层收到后:先 dismiss 弹窗,再触发 Apple 登录)
|
||||
@property (nonatomic, copy, nullable) void (^appleLoginHandler)(void);
|
||||
|
||||
/// 指定宽度初始化(高度内部自适应)
|
||||
- (instancetype)initWithWidth:(CGFloat)width;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user