Instance Property

normalizedCropRect

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

Declaration

@property(nonatomic, assign) CGRect normalizedCropRect;

Discussion

To request a cropped image, specify the crop rectangle in a unit coordinate space relative to the image. In this coordinate system, the point {0.0,0.0} refers to the upper left corner of the image, and the point {1.0,1.0} refers to the opposite corner regardless of the image’s aspect ratio.

This property defaults to CGRectZero, which specifies no cropping.

If you specify a crop rectangle, you must also specify the PHImageRequestOptionsResizeModeExact option for the resizeMode property.

See Also

Specifying Image Request Options

version

The version of the image to be requested.

PHImageRequestOptionsVersion

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

deliveryMode

The requested image quality and delivery priority.

PHImageRequestOptionsDeliveryMode

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

resizeMode

A mode that specifies how to resize the requested image.

PHImageRequestOptionsResizeMode

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