Here's a work around that is working for me.
struct NavStackWorkaround<T: View>: View {
let content: ()->T
var body: some View {
if #available(iOS 16, *) {
NavigationStack(root: content)
} else {
NavigationView(content: content)
.navigationViewStyle(.stack)
}
}
}
Simply replace your NavigationView uses with NavStackWorkaround (and remove the .navigationViewStyle)