Ios swift – Support for older iOS versions when using DocumentGroupLaunchScene
I'm using the new DocumentGroupLaunchScene introduced in iOS 18.0 in my document-based SwiftUI app like this: @main struct MyApp: App { var body: some Scene { DocumentGroup(newDocument: MyDocument()) { file in ContentView(document: file.$document) } if #available(iOS 18.0, *) { DocumentGroupLaunchScene…