registeredTypeIdentifiers(fileOptions:)
Returns an array with a subset of type identifiers for the item provider, according to the specified file options, in the same order they were registered.
Declaration
func registeredTypeIdentifiers(fileOptions: NSItemProviderFileOptions = []) -> [String]Parameters
- fileOptions:
An array of Nsitemproviderfileoptions.
Return Value
An array of type identifier strings.
Discussion
To access the array of all registered UTIs, pass the value 0 in the fileOptions parameter.