在Game Center排行榜沙盒中只显示一个结果 – 正常吗?

我得到的结果显示在沙箱模式的排行榜,但我期望每个结果出现。 只有一个结果显示。 这是正常的吗? 从最高到最低sorting的sorting选项似乎意味着应该显示多个结果。 什么显示是我的高分,如果超过分数则更新。

只有一个结果显示我是否提出了一个VC:

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

或者如果我使用Game Center应用程序。

以下是我如何提交分数:

 -(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 } }]; } 

  1. “sorting选项从高到低似乎意味着多个结果应该显示”

    • 这并不意味着。 这意味着所有提交的分数(所有玩家)将按照从最高到最低或从最低到最高sorting。
  2. 由于您在iTunes Connect上select了高分榜排行榜设置。 只有比前一个更高的玩家的分数才会更新,而不会保存其他的分数。