Contents

providerFileTypeIdentifiers

An array of type identifiers that correspond to file types your delegate object can provide.

Declaration

var providerFileTypeIdentifiers: [String]? { get set }

Discussion

Use this property to specify the file types that your app or Core Spotlight delegate app extension can provide to satisfy a drag-and-drop request involving a searchable item. When a drag-and-drop action occurs, the app receiving the data selects the type it wants from the identifiers you provide. For types in this property, the system calls the fileURL(for:itemIdentifier:typeIdentifier:inPlace:) method of your delegate object, which you use to deliver a copy of the requested file.

Arrange the types in this property in order from highest to lowest fidelity.

See Also

Providing item representations