Update a score already submitted to Game Center

2019-04-04 10:44发布

问题:

Right now I am working on a Black Jack game for iOS and would like to have a leader board that shows which players currently have the most "money". So if they get a high score and then lose "money" it would update their high score to match the users current amount of money, which would be less than before. Is there any way to do this with Game Center?

回答1:

Things have changed since iOS7. Now you can change the "Score Submission Type" to "Most Recent Score" instead of "Best Score". This is an option in iTunes Connect when you create a new leaderboard.



回答2:

Sorry to disappoint you but Game Center only writes a new score if it is higher than the previous one. You can reset the score board via iTunes Connect, but that will lose all previous users info.See the comments link