Да, в Game Center будут храниться тайны. Существует метод resubmitStoredScores для объекта GKLocalPlayer, который вы вызываете в файле didFinishLaunchingWithOptions вашего делегата приложения.
Вот пример:
GKLocalPlayer *localPlayer = [GKLocalPlayer localPlayer];
[[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:^(NSError *error) {
if (localPlayer.isAuthenticated) {
// Enable Game Center Functionality
self.gameCenterAuthenticationComplete = YES;
if (! self.currentPlayerID || ! [self.currentPlayerID isEqualToString: localPlayer.playerID]) {
[[NSUserDefaults standardUserDefaults] setBool: NO forKey: kGameInProgress];
// Switching Users
if (!self.player || ![self.currentPlayerID isEqualToString: localPlayer.playerID]) {
// If there is an existing player, replace the existing PlayerModel object with a
// new object, and use it to load the new player's saved achievements.
// It is not necessary for the previous PlayerModel object to writes its data first;
// It automatically saves the changes whenever its list of stored
// achievements changes.
self.player = [[[PlayerModel alloc] init] autorelease];
}
[[self player] loadStoredScores];
[[self player] resubmitStoredScores];
}
} else {
// User has logged out of Game Center or can not login to Game Center, your app should run
// without GameCenter support or user interface.
self.gameCenterAuthenticationComplete = NO;
}
}];