20.6 · Windows, volumes and immersive spaces
visionOS puts your app in the user’s room. The same SwiftUI scene vocabulary applies, with two new kinds of scene and an input model of eyes and hands.
Mental model. Start in a window, add a volume when the content is a 3D object, and offer an immersive space only when immersion is the point.
Spatial scenes
The three scene types and when to use each.
- What are windows, volumes and immersive spaces on visionOS, and how do you build for them with SwiftUI and RealityKit?
visionOS apps are SwiftUI apps whose scenes live in the user’s surroundings (Shared Space, where several apps coexist, or a Full Space, where one app takes…
More in Multiplatform Apple
- 20.1 · Shared cores, platform conditions, capabilities, and the release train
- 20.2 · Documents, scenes and windows on iPad
- 20.3 · Catalyst, native AppKit and SwiftUI on the Mac, and the Mac’s sandbox and menus
- 20.4 · The focus engine, the remote and the 10-foot UI, and media-first apps
- 20.5 · Input and battery, on-watch health and networking, and the dual-target setup
- 20.7 · What the compiler and the runtime say about each platform
- 20.8 · The Mac sandbox, signing, bookmarks, menus and Catalyst, measured
- 20.9 · Which scenes, modifiers and spaces exist where, and how a package declares them