Contents

init(matchRequest:)

Creates a matchmaker view controller for the local player to start inviting other players to a turn-based game.

Declaration

init(matchRequest request: GKMatchRequest)

Parameters

  • request:

    A match request that you configure for the characteristics of your game.

Return Value

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

See Also

Creating and Configuring the View Controller