visionOS is Apple's operating system for the Vision Pro headset, a spatial computing platform where apps render as windows and 3D content floating in the user's real environment. It ranks #20 in trending tech at roughly 0.9% usage share โ the smallest but newest platform on this list. It's trending as developers explore what "spatial computing" apps look like, building with familiar SwiftUI plus new RealityKit APIs for 3D and immersive content.
A minimal visionOS app is an ordinary SwiftUI App whose scene is a WindowGroup โ visionOS automatically places it as a floating window in the user's space.
import SwiftUI
@main
struct SpatialNotesApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
.windowStyle(.plain)
.defaultSize(width: 600, height: 400)
}
}
struct ContentView: View {
var body: some View {
VStack(spacing: 16) {
Text("Welcome to Spatial Notes")
.font(.largeTitle)
Button("New Note") { }
.buttonStyle(.borderedProminent)
}
.padding()
}
}
You can build and test visionOS apps entirely in the Simulator โ no physical Vision Pro headset required to start.
1. Install Xcode 15+ and the visionOS Simulator platform (Xcode > Settings > Platforms)
2. File > New > Project > choose the "visionOS App" template
3. Select the Apple Vision Pro simulator as the run destination
4. Press Run to see your app rendered as a spatial window in the simulated space