Global Variable

MFMessageComposeViewControllerAttachmentAlternateFilename

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

Declaration

let MFMessageComposeViewControllerAttachmentAlternateFilename: String

Discussion

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.