Contents

QLThumbnailRequestSetImageAtURL(_:_:_:)

Sets the thumbnail request to contain the image at a given URL.

Declaration

func QLThumbnailRequestSetImageAtURL(_ thumbnail: QLThumbnailRequest!, _ url: CFURL!, _ properties: CFDictionary!)

Parameters

  • thumbnail:

    The thumbnail request object.

  • url:

    The URL to the image that the response to the thumbnail request returns.

  • properties:

    A dictionary of properties for the thumbnail. macOS doesn’t use any properties.

Discussion

Call this function to have QuickLook use the image at the provided url as a thumbnail.

See Also

Handling thumbnail requests