Instance Property


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


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


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


An optional string describing the extension item content.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software