1.18. Handling Players’ State Changes in Multiplayer Games
1.18.1. Problem
You want to detect when players in multiplayer mode get
disconnected while playing the game.
1.18.2. Solution
Implement and handle the match:player:didChangeState: delegate message
of the GKMatchDelegate class.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial