GKChallengeComposeHandler
A completion block that provides information about the player who issues a challenge and the players who receive it.
Declaration
typealias GKChallengeComposeHandler = (UIViewController, Bool, [GKPlayer]?) -> Voidtypealias GKChallengeComposeHandler = (NSViewController, Bool, [GKPlayer]?) -> VoidParameters
- composeController:
The view controller for the challenge.
- didIssueChallenge:
A Boolean value that indicates whether the player issues the challenge.
- sentPlayers:
The players that receive the challenge.