GKMatchmakerViewControllerDelegate
An object that handles when the status of matchmaking changes.
Declaration
protocol GKMatchmakerViewControllerDelegate : NSObjectProtocolMentioned 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.