Post

Replies

Boosts

Views

Activity

Comment on Not receive onDisappear event on the first WindowGroup
Thanks! It helps me understand why I can't receive onDisappear. After try your code, I still has a scenario that can't be solved. Open a Window. Open a ImmersiveSpace from window, window still exists. Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist. I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Comment on Not receive onDisappear event on the first WindowGroup
Thanks! It helps me understand why I can't receive onDisappear. After try your code, I still has a scenario that can't be solved. Open a Window Open a ImmersiveSpace from window, window still exists. Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist. I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Comment on Add/Remove ReferenceObject after ARSession is started in visionOS
I'll try, thanks!
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on Not receive onDisappear event on the first WindowGroup
This works. Thanks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on Not receive onDisappear event on the first WindowGroup
Thanks! It helps me understand why I can't receive onDisappear. After try your code, I still has a scenario that can't be solved. Open a Window. Open a ImmersiveSpace from window, window still exists. Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist. I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on Not receive onDisappear event on the first WindowGroup
Thanks! It helps me understand why I can't receive onDisappear. After try your code, I still has a scenario that can't be solved. Open a Window Open a ImmersiveSpace from window, window still exists. Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist. I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Comment on visionOS ARKit Share WorldAnchor
Thanks. Hope AVP will support this function in near future
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
May ’24
Comment on Unable to Dismiss A Particular Window from WindowGroup
Hi, is there any method that I can know which WindowGroup instance is closed when user clicking the close button beside the moving holder? I can use scenePhase to get the status of WindowGroup but don't know the value passed to it. Thanks @sha921
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23