Contents

sharingViewController(_:didFinishWithError:)

Indicates the sharing view controller is ready to be dismissed.

Declaration

func sharingViewController(_ viewController: GKGameSessionSharingViewController, didFinishWithError error: (any Error)?)

Parameters

  • viewController:

    The sharing view controller to be dismissed.

  • error:

    An optional GameKit error. This parameter is nil if the sharing view controller is successfully dismissed.