Initializer

init(invite:)

Initializes a matchmaker view controller to respond to an invitation received from another player.

Declaration

init?(invite: GKInvite)

Parameters

invite

The invitation received from the other player.

Return Value

An initialized matchmaker view controller object. If an error occurred, NULL is returned.

Discussion

The user is allowed to join the match that the user was invited to, but is not allowed to invite others to the match.

See Also

Initializing a Matchmaker View Controller

init?(matchRequest: GKMatchRequest)

Initializes a matchmaker view controller to create a new match.