Hi,
I am begginner using SwiftUI on Vision Pro. I'd like to show a window from ContentView, and window has no close and move buttons. Likes below. How can I do that?
Hi,
I am begginner using SwiftUI on Vision Pro. I'd like to show a window from ContentView, and window has no close and move buttons. Likes below. How can I do that?
Add the following modifier on a view where appropriate in your code:
.persistentSystemOverlays(.hidden)
I actually resolved bug yesterday where the close and home button were missing! I found this modifier, commented it, and the missing controls appeared again.