Contents

attachments

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

Declaration

var attachments: [NSItemProvider]? { get set }

Discussion

Populate this array with images, videos, URLs, and so on. It’s not meant to be an array of alternative 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