ios-unity/Classes_cocos/UIViewController+Wallet.h
2023-08-03 13:14:23 +08:00

27 lines
672 B
Objective-C

//
// UIViewController+Wallet.h
// Unity-iPhone
//
// Created by zhl on 2022/9/1.
//
#pragma once
#import <UIKit/UIKit.h>
@interface UIViewController (Wallet)
+(void)toWallet:(NSString *)url;
-(void)signWithGoogle:(NSString *)funid;
-(void)signWithApple:(NSString *)funid;
-(void)signWithTikTok:(NSString *)funid;
-(void)signWithFacebook:(NSString *)funid;
-(void)signWithTwitter:(NSString *)funid;
-(void)signOutGoogle:(NSString *)funid;
-(void)saveKey:(NSString *) account key:(NSString *) key;
-(NSString *)loadKey:(NSString *) account;
-(void)showPage:(NSString *)url;
-(void)nativeCb:(NSString *)funid hasErr: (BOOL) hasErr dataStr:(NSString *) dataStr;
@end