Contents

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.