Hi, I would like to add a topbar in the panel in VisionOS by using ToolbarTitleMenu, reffering to the document: https://developer.apple.com/documentation/swiftui/toolbartitlemenu,
but in the simulator, I cannot see the topbar, what's wrong with my code?
Post
Replies
Boosts
Views
Activity
Just like this pic shows, how to add secondary panel out side of the main panel by using SwiftUI?
I have a swiftUI panel poped up in my scene.
And how to set the min and max size of a swiftUI for users' resizing?
How can I remove or hide this part under a SwiftUI panel?
What Swift code should I write to control this?
My project has integrated SwiftUI panel , I noticed that when I open the SwiftUI interface, it always appears in front of me and stays at a certain distance. I want it to spawn on my left side instead, and with some rotation. How can I set the position in the code to achieve this?