Back to Browse

SwiftUI Navigation Path | Programmatic & Value-Based Navigation Explained

120 views
Apr 27, 2026
22:26

Hey guys, in this SwiftUI tutorial, we’re taking navigation to the next level. We’ll cover: Using NavigationStack with NavigationPath View-Based Navigation vs Value-Based Navigation Pushing and popping screens programmatically Passing data safely between views (colors, strings, and more) Using a Router class for clean, app-wide navigation Restoring navigation stacks after app relaunch Creating custom back buttons and pop-to-root functionality Referenced Videos: SwiftUI NavigationStack – https://www.youtube.com/watch?v=3N-F3_c1h0M Binding – https://www.youtube.com/watch?v=wbx7WpBFr6Y By the end of this video, you’ll have full control over navigation in your SwiftUI apps, making complex flows and state restoration easy and clean. If you find this video helpful, don’t forget to like, subscribe, and hit the bell so you don’t miss future SwiftUI tutorials! Say Hi on Social Media: LinkedIn: https://www.linkedin.com/in/emacco/​​ Instagram: https://instagram.com/its_macco?utm_medium=copy_link Twitter: https://twitter.com/Its_Macco Timestamps: 00:00 – Introduction 00:50 – Project Overview 01:30 – NavigationPath Setup 02:36 – Navigate to another page 05:14 – Accessing NavigationPath in Child Pages 08:40 – Pop to Root 10:04 – Creating a Navigation Router 19:15 – Custom Back Button 20:03 – Restoring Navigation Path

Download

0 formats

No download links available.

SwiftUI Navigation Path | Programmatic & Value-Based Navigation Explained | NatokHD