Platforms to show: All Mac Windows Linux Cross-Platform

GKScoreChallengeMBS class

Super class: GKChallengeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A GKScoreChallenge object represents a challenge based on a score in a leaderboard.

To complete the challenge, the player must score an equal or better score than the score used to create the challenge. When a player beats a score challenge, a new score challenge is automatically issued to the player that issued the challenge unless there is already a pending score challenge that requires a better score.

Available on Mac OS X 10.8.2 and newer.
Subclass of the GKChallengeMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Super class GKChallengeMBS

State Constants

Constant Value Description
GKChallengeStateCompleted 2 The receiving player successfully completed the challenge.
Available on Mac OS X 10.8.2 and newer.
GKChallengeStateDeclined 3 The receiving player declined the challenge.
Available on Mac OS X 10.8.2 and newer.
GKChallengeStateInvalid 0 An error occurred. The state of this challenge is not valid.
Available on Mac OS X 10.8.2 and newer.
GKChallengeStatePending 1 The challenge has been issued, but is not yet completed nor declined.
Available on Mac OS X 10.8.2 and newer.

This class has no sub classes.


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


GKPlayerMBS   -   GKScoreMBS


The biggest plugin in space...