How to present onboarding information in an app using DocumentGroup

If a user uses the Document App template in Xcode to create a SwiftUI app, macOS starts them off with a new document. This is good. I can work with that to present onboarding UI within a new document.

However, with that same app running on iOS, the user is instead greeted by the stock document view controller to create or pick a document.

This is not helpful in that I don't have a way to present onboarding information.

I did notice that if you add a WindowGroup to the Scene, the app will display that window group. But then I don't know how to get the user to the picker UI of the DocumentGroup.

Has anyone figured out how to do things like present onboarding on top of this DocumentGroup-based app?

Replies

Hi,

I am also wondering the same, as to how we can get the new document presented in iOS upon launch.

Have you find any answer elsewhere?
I'm guessing right now the best you can do is present the onboarding when the user opens/creates a document for the first time. Not so bad really.