Returns the application used to open a content type (UTI).
- macOS 10.10+
- Core Services
The Uniform Type Identifier (UTI) of the item for which the application is requested.
Whether to return the editor or viewer for
in. If you don't care which, use
On failure, set to a
CFErrordescribing the problem. If you are not interested in this information, pass
NULL. The caller is responsible for releasing this object.
If an acceptable application is found, its URL is returned. If no application could be found,
NULL is returned and
out (if not
NULL) is populated with
k. The caller is responsible for releasing this URL.
Consults the binding tables to return the application that would be used to open a file of type
in if it were double-clicked in the Finder. This application will be the user-specified override if appropriate or the default otherwise.