Global Variable


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


let MFMessageComposeViewControllerAttachmentAlternateFilename: String


Use this constant with the attachments property to retrieve the optional, more descriptive name for a message attachment.

See Also

Managing Attachments

func disableUserAttachments()

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

var attachments: [[AnyHashable : Any]]?

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

let MFMessageComposeViewControllerAttachmentURL: String

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