Enumeration Case

UIViewContentModeScaleAspectFit

The option to scale the content to fit the size of the view by maintaining the aspect ratio. Any remaining area of the view’s bounds is transparent.

Declaration

UIViewContentModeScaleAspectFit