Sends a message to players in a game session.
- iOS 10.0–12.0Deprecated
- macOS 10.12–10.14Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 10.0–12.0Deprecated
A localized string with format tokens.
An array containing entries for the format tokens contained by the
Dataobject containing a limited amount of developer determined game information.
GKCloudarray containing the players to be messaged.
Booleanindicating whether players are badged when the message is sent.
A block that is called after the message has been sent.
If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is nil. See GameKit Constants for a list of error codes specific to GameKit.