iphone - Any way to programmatically reset leaderboards? -


As I've seen in the documentation of GKScore and GKLeaderboard, reset the score reported by the player center to the leader in the sports center There is no way to do it. Am i right

This is quite inconsistent, because it is possible to reset achievements:

  [GKHivament Reset achievements with compilation handler: ^ (NSER * error) {...}];   

Any ideas?

You're right.

Apple allowed a reset to an achievement.

There is no way to reset a game center leaderboard category or delete the category.

Only about the work that I know is that only old categories are allowed to die, they have to resort to the bottom, something like "high score" Change the label and then create a new one and label it "High Score" and sort it on top it will give you a fresh one, but of course there is still a limit of 25 leaderboard categories - so at some point you are drowning Until you can not understand how old people are reused. (For example, make all your scores as X 10 so that all the old scores go up very fast)

Edit ... In a recent update, I recently updated a leaderboard Category reuse was used for the original use of the category for those scores which were significantly lower in the lower 1000. The new use of the range was anywhere from 10x to 1000x. So I knew that any old scores in that category will be erased in the first couple plays of the game. Of course, the category id (com.company.app.category) can not change, but details can change (English or otherwise). This can be confusing because you are using a category in which there is an id of something, when some things are completely saved separately but #define kBlahBlahBlah with "com.company.app.blah" You can use the code, which uses anything in the name, it is easy to keep things straight, hope that helps.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -