Called when a player in a two-player match was disconnected.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Game
Kit
Declaration
Parameters
Return Value
Your game should return YES
if it wants Game Kit to attempt to reconnect the player, NO
if it wants to terminate the match.
Discussion
Occasionally, players may get disconnected from a match. If your game implements this method in the match delegate and the match only contains two players, Game Kit calls this method after a player gets disconnected. If your delegate allows Game Kit to reconnect to the other player, it reconnects the other player. Your match:
method is called when the other player is reconnected.