Contents

message

A message object from your iMessage app extension.

Declaration

@NSCopying var message: MSMessage? { get set }

Discussion

If your app has an iMessage app extension, you can display your iMessage app within the message compose view, just as you would in the Messages app. To display your iMessage app, create and assign an MSMessage object to this property.

By default, this property is set to nil.

For more information on creating iMessage apps, see Messages.

See Also

Setting the initial message information