Instance Property

message

A message displayed to all players in the match.

Declaration

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

Discussion

The message property is displayed by the standard user interface; this allows your game to use the message to inform players of the current state of the match.

See Also

Retrieving Information About the Match

participants

Information about the players participating in the match.

currentParticipant

The participant whose turn it is to act next.

matchData

Game-specific data that reflects the details of the match.

matchDataMaximumSize

Returns the limit the Game Center servers place on the size of the match data.

creationDate

The date that the match was created.

matchID

A string that uniquely identifies the match.

status

The current state of the match.

GKTurnBasedMatchStatus

The different states that a match can enter.