automatic
The automatic window resizability.
Declaration
static var automatic: WindowResizability { get set }Discussion
When you use automatic resizability, SwiftUI applies a resizing strategy that’s appropriate for the scene type:
Windows from WindowGroup, Window, and DocumentGroup scene declarations use the contentMinSize strategy.
A window from a Settings scene declaration uses the contentSize strategy.
Windows on visionOS with a window style of volumetric use the contentSize strategy.
Automatic resizability is the default if you don’t specify another value using the windowResizability(_:) scene modifier.