Instance Property

attachments

An optional array of media data associated with the extension item.

Declaration

var attachments: [Any]? { get set }

Discussion

Contains images, videos, URLs, and so on. This is not meant to be an array of alternate data formats or types, but is instead a collection to include in a social media post, for example. These items are always typed NSItemProvider.

See Also

Item Contents

var attributedContentText: NSAttributedString?

An optional string describing the extension item content.