iOS SDK_第三方账户关联
账户关联功能
#import <GamePotChannel/GamePotChannel.h>
// 定义类型
// GamePotChannelType.GOOGLE
// GamePotChannelType.FACEBOOK
// GamePotChannelType.LINE
// GamePotChannelType.TWITTER
// GamePotChannelType.NAVER
// GamePotChannelType.APPLE
[[GamePotChannel getInstance] CreateLinking:GOOGLE viewController:self success:^(GamePotUserInfo *userInfo) {
// 关联成功。请在游戏弹窗显示关联结果相关消息。(例如:账户关联成功。)
} cancel:^{
// 用户取消
} fail:^(NSError *error) {
// 关联失败。请在游戏弹窗显示失败原因相关消息。
// 消息语句请使用[error localizedDescription]。
}];关联列表确认功能
解除关联功能
Last updated