I've got multiple pages / views in my app (using Swift UI). But after I have navigated to my third view using navigation links the back button is coming further and further down the screen vertically. I am essentially losing space to work with in my views with every link I use. What is the solution to this?
Thanks for showing your code, but please use the Code block feature (see icon <>) of this site.
NavigationView{...} is only needed in the root view. Remove it from the second and third view.
NavigationView{...} is only needed in the root view. Remove it from the second and third view.
That happens because your are stacking many navigation bars using nested NavigationView.the back button is coming further and further down the screen vertically.