Post

Replies

Boosts

Views

Activity

Is There an Official VisionOS Component for Dragging UI Elements (Like in Window Footer)?
I’m currently working on a VisionOS project and was wondering if Apple provides an official component for dragging UI elements, similar to how you can drag a window from its footer in vi sion os. Specifically, I’m looking for a way to allow users to drag and move UI elements without directly interacting with the component itself (since this could trigger unintended interactions with its content, like on a webpage). I’ve tried adding a draggable rectangle below the component, but it causes flickering and doesn’t feel smooth, but I’d like to use any built-in functionality that Apple might already offer for this in VisionOS. If anyone has experience with this or knows if such a component exists, I’d really appreciate your insights! Thanks in advance! Let me know if you’d like to tweak anything!
0
0
96
Oct ’24