Allows the developer to display a message at the end of a turn or match.
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The location of the alert message string in the Localizable.strings file for the current localization.
An array of
NSStringobjects to be substituted using the format string.
Only the current player is able to set this message. The message sent is localized on the receiver side if the game is installed and on the sender side otherwise. The localized message identified through the
key parameter can be formatted with the %@ and %n$@ specifiers. These specifiers use the objects designated in the
The localized message is evaluated locally from these keys and is sent as well so that devices that do not have the game installed will see the message in the sender’s localization.