SwiftUI – IOS 16 – How to use new NavigationStack and NavigationPath for programatic navigation in MVVM architecture? – Ios swift
Description For programatic navigation you could previously use NavigationLink(isActive:, destination:, label:) which would fire navigation when the isActive param is true. In IOS 16 this became deprecated and NavigationStack, NavigationLink(value:, label:) and NavigationPath was introduced. To read about the usage…