setMessage(_:)
Sets the text message included in the friend invitation.
Declaration
func setMessage(_ message: String?)Parameters
- message:
The text message.
Discussion
If you do not set a text message, GameKit sets a default text message.
Sets the text message included in the friend invitation.
func setMessage(_ message: String?)The text message.
If you do not set a text message, GameKit sets a default text message.