I just tried the "Building a document-based app with SwiftUI" sample code for iOS 18.
https://developer.apple.com/documentation/swiftui/building-a-document-based-app-with-swiftui
I can create a document and then close it. But once I open it back up, I can't navigate back to the documents browser. It also struggles to open documents (I would tap multiple times and nothing happens). This happens on both simulator and device.
Will file a bug, but anyone know of a work-around? I can't use a document browser that is this broken.
Seems to be related to DocumentGroupLaunchScene
. If I take that scene out entirely of their demo app, and just leave the DocumentGroup
scene, the issue doesn't present.
Happens in both iPhone and iPad simulators.
I see a lot of console log noise with NSLayoutConstraint warnings. That seems like a hint here. Apple needs to issue a fix it seems.
Xcode 16.1 / iOS 18.1