Post

Replies

Boosts

Views

Created

visionOS & Document App Bug
When migrating a document app to visionOS, I noticed that two windows are created for a doc, and the new ornament toolbars get obscured by the foremost window. This can be replicated easily by creating a SwiftUI doc app and opening it in the Vision simulator. Has anyone found a workaround? The Feedback Assistant is not showing VisionOS as an option for reporting bugs. struct TestApp: App { var body: some Scene { DocumentGroup(newDocument: TestDocument()) { file in ContentView(document: file.$document) .toolbar{ ToolbarItemGroup(placement: .bottomOrnament) { Button(){}label:{Image(systemName: "gearshape.fill")} Button(){}label:{Image(systemName: "photo")} Button(){}label:{Image(systemName: "paintbrush.pointed.fill")} } } } } } code-block
5
2
845
Jan ’24