Post

Replies

Boosts

Views

Activity

Reply to SwiftUI views in navigation stack pop back in iOS 15
I think I am facing this same issue. But I am having trouble getting a dummy example that reproduces the error. Could you post a dummy example for people to reproduce? I tried with this example, and it works fine on iOS 15 :/ struct DetailView3: View {   var body: some View {     Text("Detail view 3")   } } struct DetailView2: View {   var body: some View {     NavigationLink(destination: DetailView3()) {       Text("Show detail view 3")     }.navigationBarTitle("Detail view 2")   } } struct DetailView: View {   var body: some View {     NavigationLink(destination: DetailView2()) {       Text("Show detail view 2")     }.navigationBarTitle("Detail view")   } } struct ContentView: View {   var body: some View {     NavigationView {       NavigationLink(destination: DetailView()) {         Text("Show detail view")       }.navigationBarTitle("Master view")     }   } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21