Instance Property

identifier

The named leaderboard to retrieve information from.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(copy, nonatomic) NSString *identifier;
macOS
@property(copy, atomic) NSString *identifier;

Discussion

If non-nil, Game Center only returns scores from the matching leaderboard. If nil, all scores previously reported by the game are searched. Default is nil.

See Also

Customizing the Leaderboard Request

playerScope

A filter used to restrict the search to a subset of the players on Game Center.

GKLeaderboardPlayerScope

The scope of players to be searched for scores.

range

The numerical score rankings to return from the search.

timeScope

A filter used to restrict the search to scores that were posted within a specific period of time.

GKLeaderboardTimeScope

The period of time to which a player’s best score is restricted.

- loadImageWithCompletionHandler:

The image associated with the default leaderboard.