Contents

PHImageContentMode.aspectFit

Scales the image so that its larger dimension fits the target size.

Declaration

case aspectFit

Discussion

Use this option when you want the entire image to be visible, such as when presenting it in a view with the UIView.ContentMode.scaleAspectFit content mode.

See Also

Constants