<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ImmersionStyle/mixed",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14ImmersionStylePA2A05MixedcD0VRszrlE5mixedAEvpZ"
  },
  "title" : "mixed"
}
-->

# mixed

An immersion style that displays unbounded content intermixed with other
app content, along with passthrough video.

```
@export(implementation) static var mixed: MixedImmersionStyle { get }
```

## Discussion

When this immersion style is selected, the immersion amount reported by
the closure of [`onImmersionChange(initial:_:)`](/documentation/SwiftUI/View/onImmersionChange(initial:_:)) is `0.0`.

Use the [`immersionStyle(selection:in:)`](/documentation/SwiftUI/Scene/immersionStyle(selection:in:)) scene modifier to
specify this style for an [`ImmersiveSpace`](/documentation/SwiftUI/ImmersiveSpace).
However, this is the default immersion style if you don’t specify one.

The immersion style affects how windows interact with virtual objects
in the environment. In `mixed` immersion, a virtual object obscures
part or all of a window that’s behind the object. Similarly, a window
obscures a virtual object that’s behind the window.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)