resizeAspectFill
The content is resized to completely fill the bounds rectangle, while still preserving the aspect of the content. The content is centered in the axis it exceeds.
Declaration
static let resizeAspectFill: CALayerContentsGravityThe content is resized to completely fill the bounds rectangle, while still preserving the aspect of the content. The content is centered in the axis it exceeds.
static let resizeAspectFill: CALayerContentsGravity