Contents

QLPreviewRequestCopyContentUTI(_:)

Returns the UTI for the preview request.

Declaration

func QLPreviewRequestCopyContentUTI(_ preview: QLPreviewRequest!) -> Unmanaged<CFString>!

Parameters

  • preview:

    The preview request object.

Return Value

The UTI of the associated preview request; returns NULL if the UTI is not available. You should explicitly release this object when it is no longer needed.

Discussion

Thread-safety: This function should be called in the same thread as the preview request is made in; generally, this is the same thread in which the GeneratePreviewForURL callback was invoked.

See Also

Requesting previews