Scales this view’s rendered output by the given amount in both the horizontal and vertical directions, relative to an anchor point.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The amount to scale the view in the view in both the horizontal and vertical directions.
The anchor point with a default of
centerthat indicates the starting position for the scale operation.
scale to apply a horizontally and vertically scaling transform to a view.