Navigation bar button not showing - xcode 12, swift 5

Im trying to build a Navigation Bar - descirbed here
apple developer link but simple example is not working. I'm using xcode 12 and swift 5.

I created Navigation Controller as entry point -> Root View Controller with button inside which doing show Segue to next View Controller - on all tutorials and material on internet effect is that I see Back button in left corner.

In my case its not visible but when I click in that place it's working.

Is this any bug with xcode 12 ? What can I do wrong ?


What is your set up:
  • a navigation controller

  • linked to a first VC with a RELATIONSHIP segue : this first VC is the first of stack

  • a second VC linked to a third VC with a segue (show segue for instance) : it is second on stack

Then the back button should appear in this 3rd VC, not on the second (because it is the first of stack, so nowhere back to go).
So, if you have a single controller in the navigation stack (the first VC), there is no back button.

In my case its not visible but when I click in that place it's working.

What is working ? What do you get when you click there ?

Could you confirm or explain what is different ?
Thanks for respond.

My setup is as you said. I have found out that when I recreate Main.storyboard then it is working or when I create new project from the scratch then it is working too - so most probably its some issue with my storyboard (legacy project) - but what can it be ?

What is working is that when I click in the place where "back" button should be then Im redirected to prev page - which is fine - but somehow "back" button is not visible.

OK - I have found it - because of some reason I had to change View Tint color to other than default and now nav buttons are visible
Navigation bar button not showing - xcode 12, swift 5
 
 
Q