player(_:didReceive:)
Handles when the local player issues a challenge but the other player doesn’t want to respond immediately.
Declaration
optional func player(_ player: GKPlayer, didReceive challenge: GKChallenge)Parameters
- player:
The player who receives the challenge.
- challenge:
The challenge that the player issues to another player.