Instance Property

category

The leaderboard that this score belongs to.

Declaration

iOS, watchOS
@property(copy, nonatomic) NSString *category;
macOS
@property(copy, atomic) NSString *category;

Discussion

The category string must match an identifier for a leaderboard you created in App Store Connect.

See Also

Deprecated Methods and Properties

- challengeComposeControllerWithPlayers:message:completionHandler:

Provides a challenge compose view controller with pre-selected player identifiers and a preformatted, player-editable message.

Deprecated
- initWithCategory:

Returns an initialized score object.

Deprecated
- initWithLeaderboardIdentifier:forPlayer:

Returns an initialized score object for the specified leaderboard and player.

Deprecated
- issueChallengeToPlayers:message:

Issues a score challenge to a set of players.

Deprecated
playerID

The player identifier for the player that earned the score.

Deprecated
- reportScoreWithCompletionHandler:

Reports a score to Game Center.

Deprecated