Post

Replies

Boosts

Views

Activity

How to add a Topbar in the panel in VisionOS
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?
Replies
5
Boosts
0
Views
641
Activity
Aug ’24
How to set the min and max size of a swiftUI for user resizing?
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?
Replies
2
Boosts
0
Views
573
Activity
Jul ’24
How to add secondary panel out side of the main panel?
Just like this pic shows, how to add secondary panel out side of the main panel by using SwiftUI?
Replies
1
Boosts
0
Views
454
Activity
Jul ’24
How to hide slider bar and close button under the SwiftUI panel
How can I remove or hide this part under a SwiftUI panel? What Swift code should I write to control this?
Replies
1
Boosts
0
Views
711
Activity
Jun ’24
How can I set the position of the spawn point of the SwiftUI panel?
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?
Replies
1
Boosts
0
Views
564
Activity
Jun ’24