Widgets – Simple Interactions
We can provide simple controls that can perform actions in our apps, including triggering updates to a widget.
Code snippets and examples of using common APIs throughout visionOS development
We can provide simple controls that can perform actions in our apps, including triggering updates to a widget.
Layout some content and add parameters.
Four key concepts that make widgets so compelling on visionOS.
We can use two convenient modifiers to scale views based on their parent size.
Starting in visionOS 26, we can open immersive spaces that can coexist with system environments.
A modifier that controls frame and alignment for RealityView.
A Layout that can align overlapping views, allowing multiple views to exist in one space.
We can add secondary content within the bounds of views.
A rotation modifier that will impact frame and layout.
We can use depth alignment on layouts to align views in a 3D space.
We can use HitTargetComponent to send manipulation input from one entity to another.
We can silence the provided system sounds and play our own using Manipulation Events.