Post

Replies

Boosts

Views

Activity

Comment on Unable to Dismiss A Particular Window from WindowGroup
Hi @sha921 thank you for your help! Unfortunately, I'm not able to dismiss an individual window, when this method is invoked, it seems all windows in the group will be closed not only the one calling dismiss(). I'm opening windows in the group using openWindow(id: "window"). And below is my current app.swift code the the window group. WindowGroup(id: "window") { WindowView(some data here) .environmentObject(linkModel) } .windowStyle(.plain)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23