WWDC25: Meet SwiftUI spatial layout | Apple

Explore new tools for building spatial experiences using SwiftUI. Learn the basics of 3D SwiftUI views on visionOS, customize existing layouts with depth alignments, and use modifiers to rotate and position views in space. Discover how to use spatial containers to align views in the same 3D space, helping you create immersive and engaging apps. Explore related documentation, sample code, and more: Human Interface Guidelines: Designing for visionOS: https://developer.apple.com/design/hu... Canyon Crosser: Building a volumetric hike-planning app: https://developer.apple.com/documenta... Better together: SwiftUI and RealityKit: https://developer.apple.com/videos/pl... Building Custom Views with SwiftUI: https://developer.apple.com/videos/pl... Compose custom layouts with SwiftUI: https://developer.apple.com/videos/pl... 00:00 - Introduction 02:47 - 3D views 07:18 - Depth alignments 11:41 - Rotation layout 16:28 - Spatial containers 19:22 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp