how to use bezel?
Generated on 9/25/2024
1 search
The "bezel" or "baseplate" in the context of Apple's WWDC is a feature used in VisionOS to help users understand the boundaries of a volume. It appears automatically when looked at, highlighting the bottom edges of the volume. This is particularly useful for content that sits inside a volume but doesn't fill its bounds, as it gives users a sense of the edges of the volume.
In VisionOS 2, the baseplate is enabled by default and can be controlled using the volume baseplate visibility modifier. The automatic behavior fades in the baseplate when it's looked at, which is equivalent to writing the modifier with visible. However, if your app's content already extends to the bounds of the volume or if you draw your own surface, it's better to disable the baseplate to avoid conflicts and let the content itself guide users to the edges.
For more details, you can refer to the session Dive deep into volumes and immersive spaces (02:20).
Build a spatial drawing app with RealityKit
Harness the power of RealityKit through the process of building a spatial drawing app. As you create an eye-catching spatial experience that integrates RealityKit with ARKit and SwiftUI, you’ll explore how resources work in RealityKit and how to use features like low-level mesh and texture APIs to achieve fast updates of the users’ brush strokes.
Explore object tracking for visionOS
Find out how you can use object tracking to turn real-world objects into virtual anchors in your visionOS app. Learn how you can build spatial experiences with object tracking from start to finish. Find out how to create a reference object using machine learning in Create ML and attach content relative to your target object in Reality Composer Pro, RealityKit or ARKit APIs.
Extend your app’s controls across the system
Bring your app’s controls to Control Center, the Lock Screen, and beyond. Learn how you can use WidgetKit to extend your app’s controls to the system experience. We’ll cover how you can to build a control, tailor its appearance, and make it configurable.
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.
Optimize for the spatial web
Discover how to make the most of visionOS capabilities on the web. Explore recent updates like improvements to selection highlighting, and the ability to present spatial photos and panorama images in fullscreen. Learn to take advantage of existing web standards for dictation and text-to-speech with WebSpeech, spatial soundscapes with WebAudio, and immersive experiences with WebXR.
Migrate your TVML app to SwiftUI
SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.