30 lines
950 B
Objective-C
30 lines
950 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)clientLogin:(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;
|
|
- (void)passStorageState:(NSString *)funid account:(NSString *)account;
|
|
- (void)storagePass:(NSString *)funid account:(NSString *)account pass:(NSString *)pass;
|
|
- (void)authGetStoragePass:(NSString *)funid account:(NSString *)account;
|
|
@end
|