Commit 68b98edcd8d5b7fc84727ee6e9125dd7e1df3dc7
1 parent
3956cd494c
Exists in
master
iOS SDK 文档修改
Showing 1 changed file with 8 additions and 4 deletions Side-by-side Diff
doc/IOSDocument.md
... | ... | @@ -2,8 +2,8 @@ |
2 | 2 | |
3 | 3 | |
4 | 4 | 接入手册 |
5 | -V 3.3.3 | |
6 | -2016年01月21日 | |
5 | +V 3.3.7 | |
6 | +2016年05月06日 | |
7 | 7 | |
8 | 8 | ## 概述 |
9 | 9 | #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 |
... | ... | @@ -11,7 +11,7 @@ V 3.3.3 |
11 | 11 | ## 接入步骤 |
12 | 12 | ### 1、添加Framework和资源文件 |
13 | 13 | + 以下为必须添加的framework以及资源bundle: |
14 | -MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle | |
14 | +MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle、libsqlite3.tbd | |
15 | 15 | + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 |
16 | 16 | VKSdk.framework、VKBridge.framework、VKSDKResources.bundle |
17 | 17 | |
... | ... | @@ -90,4 +90,8 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
90 | 90 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 |
91 | 91 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 |
92 | 92 | NSLog(@"iap completed orderId of gumptech:%@",orderId); |
93 | - }]; | |
94 | 93 | \ No newline at end of file |
94 | + }]; | |
95 | +### 7、SDK版本测试设置 | |
96 | +若想使用SDK的debug版本,需要在AppDelegate的application: didFinishLaunchingWithOptions:中设置: | |
97 | + [[LetsGameAPI instance] decideIsDebug:1]; | |
98 | +不设置或者设置为0时,默认使用release版本 |