Instance Method


Disconnects the local player from the match.


func disconnect()


Your game should call disconnect before removing the last strong reference to the match object. Calling disconnect notifies other players that you have left the match.

See Also

Finishing the Match

func rematch(completionHandler: ((GKMatch?, Error?) -> Void)?)

Create a new match with the list of players from an existing match.