Is only one result shown in the Game Center test panel ok?

I get results that appear in the leaderboard in sandbox mode, but I expected every result to appear. Only one result is shown. This is normal? Sorting the sort from highest to lowest seems to imply multiple results. What appears is my high score, which is updated if the score is exceeded.

Only one result shows if I represent VC in this way:

- (void) presentLeaderboards { GKGameCenterViewController* gameCenterController = [[GKGameCenterViewController alloc] init]; gameCenterController.viewState = GKGameCenterViewControllerStateLeaderboards; gameCenterController.gameCenterDelegate = self; [self presentViewController:gameCenterController]; } 

or if I use the Game Center app.

This is how I present the results:

 -(void) submitScore:(int64_t)score category:(NSString*)category { if (!_gameCenterFeaturesEnabled) { DLog(@"Player not authenticated"); return; } GKScore* gkScore = [[GKScore alloc] initWithLeaderboardIdentifier:category]; gkScore.value = score; [GKScore reportScores:@[gkScore] withCompletionHandler:^(NSError *error) { if (error) { // handle error } }]; } 
+2
source share
1 answer
  • "Sorting to sort from highest to lowest seems to imply that multiple results should be displayed."

    • This does not mean. This means that all points presented (for all players) will be sorted by highest to lowest or lowest to highest level.
  • Since you selected High Score in the Leaderboard setting in iTunes Connect. He will update the player’s score only if he is higher than the previous one and will not save other points received.

+1
source

All Articles