TechnologiesFoundation, System & Concurrency

UniformTypeIdentifiers

iOSmacOStvOSwatchOSvisionOS

UniformTypeIdentifiers declares and queries Uniform Type Identifiers that describe the content types of files and in-memory data. You use UTType to identify a type, test its conformance to other types, and navigate the conformance hierarchy that relates content types to one another. UTTagClass distinguishes the tag namespaces—such as filename extensions and MIME types—that a type can be derived from or mapped to, and UTTypeReference represents a reference to a declared type.

Content Types 2

Types that declare a content type and let you query its conformance hierarchy.

  • St
    UTTypeiOS 14.0+
    A structure representing a type in a type hierarchy.
  • Cl
    UTTypeReferenceiOS 14.0+
    \brief A class representing a type in a type hierarchy.

Tag Namespaces 1

Values that identify the tag namespaces a content type can map to or be derived from.

  • St
    UTTagClassiOS 14.0+
    A type representing tag classes.

Extends 5

NSItemProviderNSStringNSURLURLResourceValuesURL
← Foundation, System & Concurrency