Instance Property


Returns an array of dictionaries that describe the properties of an attachment.


var attachments: [[AnyHashable : Any]]? { get }


Each attachment is described by an NSDictionary object in the attachments array. To retrieve the alternate file name for an attachment from its dictionary, use the MFMessageComposeViewControllerAttachmentAlternateFilename key.

See Also

Managing Attachments

func disableUserAttachments()

Disables the camera/attachment button in the message composition view.

let MFMessageComposeViewControllerAttachmentURL: String

The URL for the item that is attached to the message.

let MFMessageComposeViewControllerAttachmentAlternateFilename: String

The key for the alternate filename for the file-based item attached to the message.