Objective c 运行时间低于高分游戏中心

Objective c 运行时间低于高分游戏中心,objective-c,cocoa-touch,game-center,elapsedtime,Objective C,Cocoa Touch,Game Center,Elapsedtime,我想知道如何确保运行时间越短,苹果游戏中心的分数就越高。当我有“12秒”和“15秒”时,“15秒”将被认为是现在的最高分数。我怎样才能解决这个问题 这是我用于提交的代码: self.gameCenterManager = [[GameCenterFiles alloc] init]; [self.gameCenterManager setDelegate:self]; int my_time = 12; NSLog(@"%i", m

我想知道如何确保运行时间越短,苹果游戏中心的分数就越高。当我有“12秒”和“15秒”时,“15秒”将被认为是现在的最高分数。我怎样才能解决这个问题

这是我用于提交的代码:

        self.gameCenterManager = [[GameCenterFiles alloc] init];
        [self.gameCenterManager setDelegate:self];
        int my_time = 12;
        NSLog(@"%i", my_time);

        [self.gameCenterManager reportScore:my_time forCategory: self.currentLeaderBoard];

这是您在iTunesConnect中进行的设置,而不是在代码中,因为这是排行榜特征的配置位置。

我只能选择是先显示最低或最高分数,还是先显示最佳分数或最近的分数。这是否意味着您可以在那里设置最低分数就是最佳分数?是的,这就是顺序所代表的。谢谢您的解释