Called when the match has ended.
SDKs
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Game
Kit
Declaration
optional func player(_ player: GKPlayer, matchEnded match: GKTurn Based Match)
Parameters
player
The
GKPlayer
object containing the current player’s information.match
The
GKTurn
object containing the current game data.Based Match