// // AppleSignIn.h // Unity-iPhone // // Created by zhl on 2022/11/28. // #import #import NS_ASSUME_NONNULL_BEGIN typedef void (^AppleSignInCompletion)(NSString *_Nullable idToken, NSError *_Nullable error); @interface AppleSignIn : NSObject @property(nonatomic, nullable) AppleSignInCompletion completion; @property(nonatomic, nullable) NSString *funid; + (instancetype)sharedInstance; - (void)signIn:(NSString *)funid presentingViewController:(UIViewController *)presentingViewController completion:(nullable AppleSignInCompletion)completion; @end NS_ASSUME_NONNULL_END