|
i added the gamecenter just as http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-game-center-achievements-and-leaderboards-part-1/ , and i just need a bestscore in the Leaderboard, i added everything that the page said. and i can get the game in the gamecenter,and also can see the leaderboard, but i cant see the score in the leaderboard. i use the code "gamecentermanager" in that page, ///// auth self._currentLeaderBoard = kLeaderboardID; self._currentScore = 0; if ([GameCenterManager isGameCenterAvailable]){ self._gameCenterManger = [[[GameCenterManager alloc] init] autorelease]; [self._gameCenterManger setDelegate:self]; [self._gameCenterManger authenticateLocalUser]; }else{ // submit - (void)submitScore { // just test,and the category has been setted [self._gameCenterManger reportScore:123 forCategory:@"1"]; } - (void) scoreReported: (NSError*) error { if (error == nil) { NSLog(@"-------- score Report is ok"); }else{ NSLog(@"--------- score Report is error"); NSLog(@"Failed to send report: %@", [error localizedDescription]); } the delegate method "scoreReported" return "score report is ok",but i cant see the score in the game center,what can i do? thank you
(comments are locked)
|

Did you ever solve this problem? I had and still have this problem (using Prime31's GameCenter plug-in). Thanks.