Instance Property

userInfo

User-provided metadata associated with the attachment.

Declaration

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

Discussion

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.