Scales this view to fit its parent.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- watchOS 6.0+
- Xcode 11.0+
A view that scales this view to fit its parent, maintaining this view’s aspect ratio.
This view’s aspect ratio is maintained as the view scales. This method is equivalent to calling