0

In VisionOS app, I would like co create a view, that is visually detached from the main window, but stays on specified location relatively to the window. In short, I would like something like this (screenshot from wwdc video):

I can create another window, but I could not find a way to specify its 3d location. I also found .toolbar() modifier with .bottomOrnament placement, but there are very limited options for positioning, and also size. My view would be bigger and more complicated, not just menu of buttons.

What is the recommended way of doing such thing?

Kaven
  • 147
  • 1
  • 11

0 Answers0