1

I have a Navigation view and I created a button to go back to the previous view, after I clicked on it several times, it displayed a nested Navigation view.

enter image description here

JIANG
  • 1,687
  • 2
  • 19
  • 36
  • 1
    Remove nested NavigationView, it is should be only one - in root view. – Asperi Jan 27 '21 at 16:09
  • @Asperi, how do I do that? I have the navigation link and point it to the previous link, that is what I got with the nested link, when I click on the navigation link multiple times. – JIANG Jan 27 '21 at 16:14
  • 1
    Would you show your code or prepare demo example how do you do that? – Asperi Jan 27 '21 at 16:25
  • 1
    Does this answer your question? [How can I avoid nested Navigation Bars in SwiftUI?](https://stackoverflow.com/questions/57102209/how-can-i-avoid-nested-navigation-bars-in-swiftui) – pawello2222 Jan 27 '21 at 18:58

0 Answers0