Window behavior in space
Windows in visionOS use glass material and specific behavior patterns that support natural interaction while maintaining visual comfort.
Core window behaviors:
- Position constraints: Windows stay within users' comfortable field of view. Content appears at optimal viewing distances with proper depth relationships.
- Content boundaries: Windows maintain clear bounds, with system controls appearing just outside their edges. Interactive elements need proper spacing for comfortable viewing.
- Content depth: While 2D content stays within window bounds, 3D content can extend along the z-axis with system-managed clipping.
Design principles:
- Center important content and controls for easy discovery
- Use ornaments for additional controls outside window bounds
- Maintain 60-point minimum spacing between interactive elements
- Prevent content from interfering with system controls[1]
Pro Tip: Keep interactive elements centered and well-spaced for comfortable eye-tracking and selection.
References
- Layout | Apple Developer Documentation | Apple Developer Documentation