normalizedCropRect
A rectangle for requesting a cropped version of the original image.
Declaration
var normalizedCropRect: CGRect { get set }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 PHImageRequestOptionsResizeMode.exact option for the resizeMode property.