Contents

maximumSize

The maximum size of images to generate.

Declaration

var maximumSize: CGSize { get set }

Mentioned in

Discussion

The default value is zero, which generates images at the asset’s unscaled dimensions.

Setting a size scales images to fit their defined bounding boxes. You define the aspect ratio of the scaled image by setting a value for the apertureMode property.

See Also

Configuring image generation