Relative Content

Tag Archive for swiftuivisionos

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 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)