onmyway133 / blog

🍁 What you don't know is what you haven't learned
https://onmyway133.com/
MIT License
669 stars 33 forks source link

How to pop multiple level with NavigationView and NavigationLink in SwiftUI #858

Open onmyway133 opened 2 years ago

onmyway133 commented 2 years ago

Use isActive and isDetailLink(false)

Use Introspect

.introspectNavigationController { nav in
    self.nav = nav
}

Read more