Files
keyboard/keyBoard/Class/Login/VC/LoginViewController.h
2025-10-30 14:29:11 +08:00

19 lines
518 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.

// LoginViewController.h
// 仅包含“Apple 登录”的登录页
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface LoginViewController : UIViewController
/// Apple 登录成功回调。包含 userIdentifier首次授权可能包含 email/fullName。
@property (nonatomic, copy, nullable) void (^onLoginSuccess)(NSDictionary *userInfo);
/// 登录失败或取消时回调(返回错误)。
@property (nonatomic, copy, nullable) void (^onLoginFailure)(NSError *error);
@end
NS_ASSUME_NONNULL_END