Contents

automatic

The default immersion style.

Declaration

static var automatic: AutomaticImmersionStyle { get }

Discussion

The system uses this style for an ImmersiveSpace if you don’t provide an immersionStyle(selection:in:) scene modifier. You don’t typically specify the automatic style explicitly.

By default, on visionOS, the system uses the mixed immersion style as the automatic style and for macOS the full immersion style as the automatic style.

See Also

Getting built-in styles