Instance Property

recipients

An array of strings that contains the initial recipients of the message.

Declaration

var recipients: [String]? { get set }

Discussion

If you want to provide an initial array of one or more recipients for a message, do so before you display it. After the message is displayed you cannot change the value of this property.

Each string in the array should contain the phone number of the intended recipient.

See Also

Setting the Initial Message Information

var subject: String?

The initial subject of the message.

var body: String?

The initial content of the message.

var message: MSMessage?

A message object from your iMessage app extension.