Relative Content

Tag Archive for swiftuiswiftui-navigationlinkswiftui-navigationstack

How to deeplink out of a deeplinked view in SwiftUI?

Assuming I have a deeplink implemented like below. After deeplinking into a detail view of one of the tabviews, when I attempt to deeplink to another detail view while on a detailed view, I am unable to do so as the initial deeplinked detail view does not change. How do I achieve this? Additionally, I am looking for a solution which should still work when the deeplinked view is highly nested than the solution provided below.