Commit 90eed546b9d2734891f5d840fd16e3b679e5e338
1 parent
d6d51df0d0
Exists in
master
文档、demo注释修改
Showing 4 changed files with 3 additions and 2 deletions Side-by-side Diff
IOSDocument.md
| ... | ... | @@ -66,7 +66,7 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
| 66 | 66 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); |
| 67 | 67 | }; |
| 68 | 68 | |
| 69 | - // 登录失败回调 | |
| 69 | + // 登录失败回调,需要游戏自己处理 | |
| 70 | 70 | [LetsGameAPI instance].dismissBlock = ^() { |
| 71 | 71 | NSLog(@"dismiss without login"); |
| 72 | 72 | }; |
README.md
| ... | ... | @@ -66,7 +66,7 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
| 66 | 66 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); |
| 67 | 67 | }; |
| 68 | 68 | |
| 69 | - // 登录失败回调 | |
| 69 | + // 登录失败回调,需要游戏自己处理 | |
| 70 | 70 | [LetsGameAPI instance].dismissBlock = ^() { |
| 71 | 71 | NSLog(@"dismiss without login"); |
| 72 | 72 | }; |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
| ... | ... | @@ -109,6 +109,7 @@ |
| 109 | 109 | self.resultLabel.text = [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %ld", userId, sessionKey, type]; |
| 110 | 110 | }; |
| 111 | 111 | [LetsGameAPI instance].dismissBlock = ^() { |
| 112 | + //登录失败操作 | |
| 112 | 113 | self.resultLabel.text = @"dismiss without login"; |
| 113 | 114 | }; |
| 114 | 115 |
-
自动登录失败返回游戏