From c3c1059e38f220207b7d9ce34e895cfa003d9335 Mon Sep 17 00:00:00 2001 From: allez <305670599@qq.com> Date: 星期三, 28 二月 2024 19:16:15 +0800 Subject: [PATCH] 0312 分享立即返回成功 --- Channel/IOS/hyyngame/Plugins/The2thWorldSDK/UniversalSDK.mm | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Channel/IOS/hyyngame/Plugins/The2thWorldSDK/UniversalSDK.mm b/Channel/IOS/hyyngame/Plugins/The2thWorldSDK/UniversalSDK.mm index 62a70b5..889bdda 100644 --- a/Channel/IOS/hyyngame/Plugins/The2thWorldSDK/UniversalSDK.mm +++ b/Channel/IOS/hyyngame/Plugins/The2thWorldSDK/UniversalSDK.mm @@ -383,12 +383,12 @@ { [[MoHuanSDK sharedGameSDK] shareUrlWithResult:^(BOOL isSuccess) { NSLog(@"%@%@",@"facebookShareURL ",isSuccess?@"YES":@"NO"); - - NSDictionary *_dict = [NSDictionary dictionaryWithObjectsAndKeys: - [NSDictionary dictionaryWithObjectsAndKeys:isSuccess?@"1":@"2", @"state", nil],@"info", - [NSNumber numberWithInt:S2U_FBShareResult], @"code", nil]; - [self SendMessageToUnity:_dict]; }]; + + NSDictionary *_dict = [NSDictionary dictionaryWithObjectsAndKeys: + [NSDictionary dictionaryWithObjectsAndKeys:@"1", @"state", nil],@"info", + [NSNumber numberWithInt:S2U_FBShareResult], @"code", nil]; + [self SendMessageToUnity:_dict]; break; } -- Gitblit v1.8.0