Sent to the delegate when the local player receives an invitation to join a new turn-based match.
- iOS 5.0–7.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
An array of
NSStringobjects containing the player identifiers for the players to initially invite to the game.
When your delegate receives this message, your game should create a new
GKMatch object and assign the
players parameter to the match request’s
players property. Then, your game can either call the
GKTurn class method
find(for: to find a match programmatically or it can use the request to instantiate a new
GKTurn object to show a user interface to the player.