Instance Method

initWithMatchRequest:

Initializes a new matchmaker view controller.

Declaration

- (id)initWithMatchRequest:(GKMatchRequest *)request;

Parameters

request

A match request with parameters for the match.

Return Value

An initialized matchmaker view controller. If an error occurred, this method returns NIL.

See Also

Displaying a UI For Turn-Based Matches

showExistingMatches

A Boolean value that determines whether the view controller shows existing matches.

turnBasedMatchmakerDelegate

The view controller’s delegate.

GKTurnBasedMatchmakerViewControllerDelegate

Your game implements the GKTurnBasedMatchmakerViewControllerDelegate protocol on an object to respond to events generated by a GKTurnBasedMatchmakerViewController object.