0

I'm currently testing various sandbox accounts for Game Center. I only use leaderboards from Game Center in my app. If I get a new high score, that new scores doesn't appear as soon as I go to look at leaderboards, it appears a few seconds and sometimes minutes later.

How do I get the scores to appear as soon as I received those high scores? Also, I just tested the game and received a new high score minutes ago yet leaderboards states i received this new score 3 hours ago. How do I fix that as well?

GKScore *scoreReporter = [[GKScore alloc]initWithLeaderboardIdentifier:@"identifier"];
scoreReporter.value = HighScoreNumber;

[GKScore reportScores:@[scoreReporter] withCompletionHandler:^(NSError *error) {
    if (error != nil) {
    }
    else
    {

    }
}];
CodeSmile
  • 64,284
  • 20
  • 132
  • 217
Bergy
  • 81
  • 1
  • 5
  • from what I recall, GC leaderboards are frequently wiped in sandbox, or the values for other players not available. Something to that effect. – CodeSmile Jan 08 '15 at 19:13
  • So it's normal for sandbox? However, in non-sandbox accounts the scores would appear promptly and timed correctly? – Bergy Jan 08 '15 at 19:18
  • It might be. It's just something I remember from many years ago, and a tip to try and research anything related to that. – CodeSmile Jan 08 '15 at 19:30

0 Answers0