// When it is dismissed, there is no way to bring it back.
DocumentGroup(newDocument: { TestDocument() }) { file in
ContentView()
}
// I can bring it back by opening it with its ID.
WindowGroup(id: "TestWindow") {
TestWindowView()
}
.windowStyle(.plain)
Here is some more information about the issue.
Same here! We basically cannot launch with iOS 18, because of this bug... The problem is that we have a lot of dependencies that use this, so we cannot make a viable workaround.
// When it is dismissed, there is no way to bring it back.
DocumentGroup(newDocument: { TestDocument() }) { file in
ContentView()
}
// I can bring it back by opening it with its ID.
WindowGroup(id: "TestWindow") {
TestWindowView()
}
.windowStyle(.plain)
Here is some more information about the issue.
Same here! We basically cannot launch with iOS 18, because of this bug... The problem is that we have a lot of dependencies that use this, so we cannot make a viable workaround.