Contents

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]?) -> Void
typealias GKChallengeComposeHandler = (NSViewController, Bool, [GKPlayer]?) -> Void

Parameters

  • 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.

See Also

Issuing Achievement Challenges