Contents

init(invite:)

Creates a matchmaker view controller to present to a player who accepts an invitation.

Declaration

init?(invite: GKInvite)

Parameters

  • invite:

    The invitation that the player accepts.

Return Value

An initialized matchmaker view controller object. If an error occurs, returns nil.

Discussion

The interface shows the status of the other players accepting and declining their invitations until the game starts.

See Also

Creating and configuring the view controller