handleMatchEnded(_:)
Sent to the delegate when a match the local player is participating in has ended.
Declaration
optional func handleMatchEnded(_ match: GKTurnBasedMatch)Parameters
- match:
The match that just ended.
Discussion
When your delegate receives this message, it should display the match’s final results to the player and allow the player the option of saving or removing the match data from Game Center.