visionOS 2 volumetric windows updates
Generated on 7/17/2024
1 search

This post is brought to you by Tailscan,
the best devtool for Tailwind CSS.
VisionOS 2 Volumetric Windows Updates
VisionOS 2 introduces several updates to volumetric windows, enhancing the spatial computing experience on Apple Vision Pro. Here are the key updates:
-
Resizable Volumes: Users can now resize volumes themselves, allowing for more flexibility in how content is displayed. This can be done using the SwiftUI scene modifier
window resizeability
(Platforms State of the Union). -
Fixed or Dynamic Scale: Developers can choose whether a volume has a fixed or dynamic scale. A fixed scale means the volume remains the same size regardless of its distance from the user, while a dynamic scale adjusts the size of the volume based on its distance, similar to real-world objects (Platforms State of the Union).
-
Ornaments and Chrome: Ornaments can now be affixed to volumes, providing additional controls or information. These ornaments, along with the app's chrome and content, can dynamically move to face the user as they walk around the space (Platforms State of the Union).
-
World Alignment: Volumes can be set to remain gravity-aligned, keeping their base parallel to the floor, or they can tilt as they are raised. This adaptive tilting behavior is the default in VisionOS 2, making interactive content more comfortable to use even from a reclined position (Dive deep into volumes and immersive spaces).
-
Dynamic Scale for Windows: Windows in VisionOS change their scale as they are moved around in the world. This ensures that text and controls remain usable even at further distances, maintaining their size in the user's field of view (Dive deep into volumes and immersive spaces).
These updates provide developers with more tools to create immersive and interactive experiences in VisionOS 2, leveraging the full potential of spatial computing on Apple Vision Pro.
Relevant Sessions
For more detailed information, you can refer to the specific sessions mentioned above.

Bring your iOS or iPadOS game to visionOS
Discover how to transform your iOS or iPadOS game into a uniquely visionOS experience. Increase the immersion (and fun factor!) with a 3D frame or an immersive background. And invite players further into your world by adding depth to the window with stereoscopy or head tracking.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Dive deep into volumes and immersive spaces
Discover powerful new ways to customize volumes and immersive spaces in visionOS. Learn to fine-tune how volumes resize and respond to people moving around them. Make volumes and immersive spaces interact through the power of coordinate conversions. Find out how to make your app react when people adjust immersion with the Digital Crown, and use a surrounding effect to dynamically customize the passthrough tint in your immersive space experience.

Get started with HealthKit in visionOS
Discover how to use HealthKit to create experiences that take full advantage of the spatial canvas. Learn the capabilities of HealthKit on the platform, find out how to bring an existing iPadOS app to visionOS, and explore the special considerations governing HealthKit during a Guest User session. You’ll also learn ways to use SwiftUI, Swift Charts, and Swift concurrency to craft innovative experiences with HealthKit.