-
Notifications
You must be signed in to change notification settings - Fork 68
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
[XCode 14 beta] NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled. #34
Comments
I wonder how FlowStacks would work using |
Thanks for raising this issue @josephktcheung. I think that the As for how FlowStacks might change in light of the new navigation APIs, I can see two options:
|
I vote for option 2 since new Navigation API will replace NavigationView after iOS 16. We also want to know how we can apply coordinator pattern to new API. |
I actually found a simpler way to comply with
This, of course, is also only available on iOS 16 and above but I think it's a great solution otherwise. |
@bbernberg Thanks a lot for the suggestion! I think giving users the option to use |
Hey @bbernberg, it looks like the solution you provided above isn't working in the following scenario:
When there's a single route in the array, the navigation seems to be working, but with multiple routes, it's not functioning as expected. Could you please share any forked repo or code snippet with a working solution for this issue? I'd really appreciate it. Thanks! |
@karthikAdaptavant I've been using this fork/branch successfully with multiple routes in the array without issue. |
Hi,
I ran the example app in XCode 14 beta and get the below warning in console:
Seems like FlowStacks needs to refactor quite a bit to support the new Navigation API.
Best,
Joseph
The text was updated successfully, but these errors were encountered: