Instance Property

attachments

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

Declaration

iOS, tvOS, watchOS
@property(copy, nonatomic) NSArray<NSItemProvider *> *attachments;
macOS
@property(copy, atomic) NSArray<NSItemProvider *> *attachments;

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

attributedContentText

An optional string describing the extension item content.