Instance Property


The requested image quality and delivery priority.


var deliveryMode: PHImageRequestOptionsDeliveryMode { get set }


Use this property to tell Photos to provide an image quickly (possibly sacrificing image quality), to provide a high-quality image (possibly sacrificing speed), or to provide both automatically if needed. See PHImageRequestOptionsDeliveryMode.

See Also

Specifying Image Request Options

var version: PHImageRequestOptionsVersion

The version of the image to be requested.

enum PHImageRequestOptionsVersion

Options for requesting an image asset with or without adjustments, used by the version property.

enum PHImageRequestOptionsDeliveryMode

Options for delivering requested image data, used by the deliveryMode property.

var resizeMode: PHImageRequestOptionsResizeMode

A mode that specifies how to resize the requested image.

enum PHImageRequestOptionsResizeMode

Options for how to resize the requested image to fit a target size, used by the resizeMode property.

var normalizedCropRect: CGRect

A rectangle for requesting a cropped version of the original image.