Instance Method

initWithPlayerIDs:

Initializes a leaderboard request to retrieve the scores of a specific group of players.

Declaration

- (instancetype)initWithPlayerIDs:(NSArray<NSString *> *)playerIDs;

Parameters

playerIDs

An array of NSString objects that holds the player identifier strings of the players to retrieve.

Return Value

An initialized leaderboard request.

Discussion

A leaderboard object initialized with this method ignores the playerScope and range properties. Instead, it retrieves scores for the specific list of players whose identifiers are included in the playerIDs parameter.

See Also

Deprecated Methods and Properties

category

The named leaderboard to retrieve information from.

Deprecated
+ setDefaultLeaderboard:withCompletionHandler:

Sets the default leaderboard for the local player.

Deprecated
+ loadCategoriesWithCompletionHandler:

Loads the list of leaderboard categories along with their corresponding localized titles.

Deprecated