Search code examples
swiftuiuinavigationcontroller

SwiftUi Navigation Bar Button disappears after entering the third View (Controller)


I have a huge Problem with SwiftUi. The "Backbutton" in a really Simple NavigationView Hierarchy disappears on the third View. If I go one view further, the Backbutton is there again and I can go back.

I searched like 3 Hours but only found this SwiftUI: Back button disappears when clicked on NavigationLink

Obviously this doesn't solve my Problem.

Thanks for any Help!


Solution

  • I found the Problem!

    The .toolbar modifier on the NavigationView hides the Backbutton in a Buggy way!