Contents

GKMatchmakerViewControllerDelegate

An object that handles when the status of matchmaking changes.

Declaration

protocol GKMatchmakerViewControllerDelegate : NSObjectProtocol

Mentioned in

Overview

The delegate of a GKMatchmakerViewController object implements this protocol to handle when players accept invitations, the player cancels matchmaking, or an error occurs. In all these cases, except when a hosted player accepts a invitation, for example, matchmakerViewController(_:hostedPlayerDidAccept:), the delegate needs to dismiss the view controller.

Topics

Starting matches

Matching players using rules

Handling cancellations and errors

Hosting matches

Deprecated Methods

See Also

Setting the delegate