Instance Method

sharingViewController(_:didFinishWithError:)

Indicates the sharing view controller is ready to be dismissed.

Required.

Declaration

func sharingViewController(_ viewController: GKGameSessionSharingViewController, didFinishWithError error: 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.