I am developing an app to memorize binary digits.
I have HomeView, MemoryView, RecallView and ResultView. I navigate between these using Navigationlink. But I use .navigationBarBackButtonHidden( “true” ) on all views because I don`t want the ability to go back to the previous screen before I come to ResultView. In the ResultView I want the ability to go back to the HomeView again. When I use Navigationlink to go back to HomeView from ResultView, there comes a new backbutton every time i cycle through the views, so for example after three cycles between the views, there is three backbuttons on homeview even when I have used .navigationBarBackButtonHidden( “true” ) on the homescreen to.
What is the best way to get this cycle of Views to work properly?