Instance Method


Adds an array of UTI strings to a paste configuration, increasing the variety of types the paste configuration accepts.


func addAcceptableTypeIdentifiers(_ acceptableTypeIdentifiers: [String])



An array of uniform type identifier (UTI) strings.


List the acceptable UTIs in descending order of fidelity. The UTI that provides the richest data representation should be first in the list. For instance, if the data to paste is contact information, list the vCard UTI first, followed by the plain text UTI.

See Also

Adding Acceptable Type Identifiers

func addTypeIdentifiers(forAccepting: NSItemProviderReading.Type)

Expands the array of accepted UTIs for a paste configuration, based on those declared as supported by a specified class.