-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No ObservableObject of type NavigationStack found. A View.environmentObject(_:) for NavigationStack may be missing as an ancestor of this view. #35
Comments
Hi @optimalpursuits. The issue is that an
|
I'm having the same issue. I have a rootview controller that is roughly like below.
the button gives me a fatal error when loading. |
It also gives me a fatal error on press |
Hi @Senbazuru1075 it depends on how you create your
it is wrong because nobody injects a navigation stack as an environment object into the
|
Fantastic library.
What I did:
Error:
No ObservableObject of type NavigationStack found. A View.environmentObject(_:) for NavigationStack may be missing as an ancestor of this view.
Thank you for your help.
Here's my implementation:
The text was updated successfully, but these errors were encountered: