hasRepresentationConforming(toTypeIdentifier:fileOptions:)
Returns a Boolean value indicating whether an item provider contains a data representation conforming to a specified universal type identifier and to specified open-in-place behavior.
Declaration
func hasRepresentationConforming(toTypeIdentifier typeIdentifier: String, fileOptions: NSItemProviderFileOptions = []) -> BoolDiscussion
To check all registered UTIs for type conformance, pass the value 0 in the fileOptions parameter.