PHImageContentMode.aspectFit
Scales the image so that its larger dimension fits the target size.
Declaration
case aspectFitDiscussion
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.