UTTypeConformsTo(_:_:)
Returns whether a uniform type identifier conforms to another uniform type identifier.
Declaration
func UTTypeConformsTo(_ inUTI: CFString, _ inConformsToUTI: CFString) -> BoolParameters
- inUTI:
A uniform type identifier to compare.
- inConformsToUTI:
The uniform type identifier to compare it to.
Return Value
Returns true if the uniform type identifier is equal to or conforms to the second type.