Instance Property


The end-state of this participant in the match.


iOS, Mac Catalyst, tvOS, watchOS
@property(assign, nonatomic) GKTurnBasedMatchOutcome matchOutcome;
@property(assign, atomic) GKTurnBasedMatchOutcome matchOutcome;


Initially, this property holds GKTurnBasedMatchOutcomeNone. Before your game can end a match, it must set the match outcome to a value that reflects the outcome of this participant when he or she left the match. See GKTurnBasedMatchOutcome. Optionally, it may also use an OR operation to include a custom match outcome for your specific game. Game Center does not use the custom value; it exists to allow your game to store its own information about the end of the match. The custom value must fit in the range provided by the GKTurnBasedMatchOutcomeCustomRange constant.

See Also

Setting the Match Outcome


The state the participant was in when they left the match.