Function

UTTypeConformsTo(_:_:)

Returns whether a uniform type identifier conforms to another uniform type identifier.

Declaration

func UTTypeConformsTo(_ inUTI: CFString, _ inConformsToUTI: CFString) -> Bool

Parameters

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.

See Also

Testing Uniform Type Identifiers

func UTTypeEqual(CFString, CFString) -> Bool

Returns whether two uniform type identifiers are equal.