Scales the view to fit its parent.
- macOS 10.15+
- 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