Retrieving Conformance Lists
UTTypeCopyDeclaration()
offers the most general (and most useful) of all UTI functions in the iOS API. It returns a dictionary that includes the following keys:
kUTTypeIdentifierKey—The UTI name, which you passed to the function (for example, public.mpeg
)
kUTTypeConformsToKey—Any parents that the type conforms to (for example, public.mpeg
conforms to public.movie
)
kUTTypeDescriptionKey—A real-world description of the ...
Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.