Platforms to show: All Mac Windows Linux Cross-Platform

Back to GKChallengeMBS class.

GKChallengeMBS.completionDate as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The date the challenge was completed. (read-only).

If the challenge is not complete, this value is nil.
Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The private constructor.

Available on Mac OS X 10.8.2 and newer.
This constructor is private to make sure you don't create an object from this class by error. Please use designated functions to create objects.

GKChallengeMBS.decline

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Declines a challenge.

If your game implements a custom user interface to display challenges, it should include controls that allow a player to decline a challenge. If the player uses your user interface to decline a challenge, call this method.

Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.issueDate as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The date the challenge was issued. (read-only).

Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.issuingPlayerID as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The player identifier for the player who issued the challenge. (read-only).

Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.message as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A text message that describes the challenge. (read-only).

Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.receivingPlayerID as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The player identifier for the player who received the challenge. (read-only).

Available on Mac OS X 10.8.2 and newer.

GKChallengeMBS.state as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The current state of the challenge. (read-only).

See GKChallengeState* constants.
Available on Mac OS X 10.8.2 and newer.

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


The biggest plugin in space...