jjzjj

scoreReporter

全部标签

ios - "A GKScore must specify a leaderboard."

有人在尝试将GameCenter集成到iOS7应用程序时遇到过这个错误吗?AGKScoremustspecifyaleaderboard.这是失败的代码:if(points>0){//Failsonthenextline[self.gameCenterManagerreportScore:pointsforCategory:self.currentLeaderBoard];}GKLeaderboardViewController*leaderboardController=[[GKLeaderboardViewControlleralloc]init];if(leaderboardCo