Post

Replies

Boosts

Views

Activity

Reply to SwiftUI "pushing the same view controller instance" Exception
I am facing the same problem in View1 code .navigationDestination(isPresented: $showView2) { View2() } .navigationDestination(isPresented: $showView3) { View3() } in View2 code .navigationDestination(isPresented: $showView3) { View3() } if showView3 = true , will crash , the .navigationDestination(isPresented: $showView3) {View3() } Cannot appear in two views (View1, View2)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24