Instance Property

resizeMode

A mode that specifies how to resize the requested image.

Declaration

var resizeMode: PHImageRequestOptionsResizeMode { get set }

Discussion

Use this property to choose how to fit the image to the target size you specified when requesting image data. See PHImageRequestOptionsResizeMode.

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.

var deliveryMode: PHImageRequestOptionsDeliveryMode

The requested image quality and delivery priority.

enum PHImageRequestOptionsDeliveryMode

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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software