iOS Gamecenter - Resubmitting leaderboard scores and earned achievements

231 views Asked by At

For iOS game apps using Gamecenter, is it a best practice to re-submit to Gamecenter leaderboard scores and/or earned achievements that the player earned previously, at the time that the player's save game file is loaded?

This could make the player's scores/achievements show up properly in Gamecenter in situations like:

  • The player originally earned the leaderboard score or achievement before signing up for Gamecenter;
  • The player originally earned the leaderboard score or achievement while they were offline (no Internet connection), and exited the game app while still offline.
1

There are 1 answers

1
anil72178 On

You can save player's score in NSUserdefaults Or Database.That data can be retrived in Any time you want.after that you only need to submit data when user press gamecenter button in your Game or when user clear level..etc