What particular configuration will allow a document based app (DocumentGroup) to open the application into the selected document when the document is touched in Files.app.
The sample code doesn't show this behaviour and instead will open the app but will not open the selected document. This also is the behaviour with the Xcode document based app template.
Using LSSupportsOpeningDocumentsInPlace = YES in the plist does not make any difference.
.onOpenURL is not a modifier on Scene only View and if the app is opened from cold the document view will not exist. In any case I would expect the DocumentGroup to open the document directly with no further intervention.
What additional magic do I need to get a document to open directly from Files.app (or Messages) . For example Swift Playgrounds shows the correct behaviour, opening the selected project directly.
Topic:
UI Frameworks
SubTopic:
SwiftUI