An optional array of media data associated with the extension item.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
@property(copy, nonatomic) NSArray<NSItem Provider *> *attachments;
@property(copy, atomic) NSArray<NSItem Provider *> *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 NSItem
.