VisionOS – Set entity position with an anchor entity after DragGesture
I’m working on a VisionOS app but I’m a bit stuck on placing anchor entity within an immersive space on another wall with drag gestures.
What I want:
How can I overlay multiple views in SwiftUI so that they appear above the main content view
What I want to do is position the pop-up of these windows so that they appear above the main ContentView, while ensuring that the ContentView remains visible.
and they don’t pop up at once, so i wanna for exemple place them all above the main ContentView how can i do it?
Re-open a window in the exact state when it’s dismissed
I want to re-open a window in the exact state when it’s dismissed (in order to show an immersive space in between). But simply calling dismissWindow(id:)
and openWindow(id:)
creates a new instance of the window. There are two approaches I can think of but neither is perfect:
Re-open a window in the exact sate when it’s dismissed
I want to re-open a window in the exact state when it’s dismissed (in order to show an immersive space in between). But simply calling dismissWindow(id:)
and openWindow(id:)
creates a new instance of the window. There are two approaches I can think of but neither is perfect:
How can I remove the GlassBackgroundEffect from NavigationStack
Doesn’t matter what I do, it’s impossible to remove the background color from NavigatonStack.
How to show the full window of WebView in visionOS for top view in VStack?
I am new to Apple visionOS and am experiencing issue with displaying the full view of a webpage using webview for the top window in a VStack. The second webview is showing the full view of youtube website, however, the first webview is unable to show the full view of the same site. (Note: I have already scroll to the top for the first view but still does not see the Youtube logo and search bar)