ios - Is it possible to create day/week/month leaderboard using Game Center? -


I need to create three leaderboards only this month, this week, on this day,.

Is it possible to get from the game center? If yes, then how?

Thx.

A leaderboard can not be reset daily. However, you can query for results during the last day / week / etc. Here's the explanation:

You can show data filtered by potential properties, such as timecc :

< Blockquote>

You set the property on the GKLeaderboard object, which is brought back to your game, then tell to load the object score. Table 4-5 properties that affect leaderboard data queries

Property - effects

player scope - you can choose That's restricted to search for local player's friends or to find scores from any player. Alternatively, you can also start leaderboard objects to search for scores of a specific group of players.

TimeScope - You can choose the filter based on the scores earned.

...

By repeating your question again, I think time scope will do the trick for you!


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -