Instance Property


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


var attachments: [NSItemProvider]? { get set }


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.