attachments
Returns an array of dictionaries that describe the properties of an attachment.
Declaration
var attachments: [[AnyHashable : Any]]? { get }Discussion
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.