Instance Property


User-provided metadata associated with the attachment.


var userInfo: [AnyHashable : Any]? { get set }


Assign a custom dictionary to this property to store attachment-specific metadata along with the attachment.

See Also

Attachment Metadata

var name: String?

The attachment’s name, or nil if the attachment is unnamed.

var uniformTypeIdentifier: String

The Uniform Type Identifier (UTI) of the data represented by the attachment.