addAcceptableTypeIdentifiers(_:)
Adds an array of UTI strings to a paste configuration, increasing the variety of types the paste configuration accepts.
Declaration
func addAcceptableTypeIdentifiers(_ acceptableTypeIdentifiers: [String])Parameters
- acceptableTypeIdentifiers:
An array of uniform type identifier (UTI) strings.
Discussion
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.