【问题标题】:google Play game Leaderboard in iosios 中的 google Play 游戏排行榜
【发布时间】:2017-09-22 23:21:21
【问题描述】:
I have used Google play game leaderboard in my iOS app.i am submitting score from my and fetch score from there. i am using following method to submit score

`[score submitScoreWithCompletionHandler: ^(GPGScoreReport *report, NSError *error) {
  if (error) {
    // Handle the error
  } else {
    // Analyze the report, if you'd like
  }
}];`

and below code to present leaderboard

NSString *targetLeaderboardId = @"my id"; [[GPGLauncherController sharedInstance] presentLeaderboardWithLeaderboardId:targetLeaderboardId];

但是获取分数需要很长时间。有没有办法重新加载或刷新排行榜数据。

任何人都有任何想法!

【问题讨论】:

    标签: ios objective-c iphone google-play google-play-games


    【解决方案1】:

    很遗憾,iOS 版 Google Play 游戏服务已被弃用,因此我不建议您花太多时间在它上面。更多信息:https://android-developers.googleblog.com/2017/04/focusing-our-google-play-games-services.html

    【讨论】:

    • 实际上我在声明弃用之前已经集成了 Google Play 游戏服务。
    猜你喜欢
    • 1970-01-01
    • 2017-01-30
    • 1970-01-01
    • 1970-01-01
    • 2013-05-12
    • 2015-07-14
    • 1970-01-01
    • 2016-08-09
    • 1970-01-01
    相关资源
    最近更新 更多