Instance Property


The scale of the thumbnails.


var scale: CGFloat { get }


This property usually represents the scale of the current screen. However, you can pass a screen scale to the initializer that isn’t the current device’s screen scale. For example, you can create thumbnails for different scales and upload them to a server in order to download them later on devices with a different screen scale.

See Also

Describing the Requested Thumbnail

var size: CGSize

The size of the thumbnails.

var minimumDimension: CGFloat

The minimum dimension for a thumbnail.

var iconMode: Bool

A Boolean value indicating whether the generated thumbnail request should include icon decorations.

struct QLThumbnailGenerator.Request.RepresentationTypes

The various types of thumbnails that you can request.