SwiftUI really just doesn’t have any good method of navigation…

If you want o do anything roughly custom the entire navigation system falls apart.

#swiftu #swift #iosdevelopment

@TaylorLineman fought and won my own navigation battle recently (one that involved a custom `TabView`, multiple `NavigationStack`s with centrally managed paths, and programmatic navigation for handling push notifications)
can’t promise anything, but might have picked up some incantations along the way that could help 🤞
@PhilipTrauner I would love to hear them! Right now I’ve been struggling with a custom navigation stack / Split View implementation. I don’t want to run my own entire navigation control setup so I attempted to wrap NavigationStack but ran into issues with replacing the root views.
@TaylorLineman are root views contained within a stack within the wrapped `NavigationStack`? gut feeling went straight to `.navigationDestination` being installed too deeply in the view hierarchy, or some possible weirdness when swapping out the root view while `path`is not empty
not much to go on though, do you have a minimal reproducer that fits in a toot or is there too much plumbing? 😅