Contents

turnBasedMatchmakerViewController(_:didFailWithError:)

Handles when an error occurs while the local player invites other players.

Declaration

func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)

Parameters

  • viewController:

    The view controller that encounters an error.

  • error:

    The error that occurs.

Discussion

This method needs to dismiss the view controller.

See Also

Handling Cancellation and Errors