0

I have view controller A and view controller B. A has a seque to B. A is embedded in a Navigation Controller.

The nav bar shows OK on A, however, it isn't showing on B. I'd expect to see see the nav bar and a "< Back" button. Here is my storyboard setup:

enter image description here

Is there something I have to do to get the nav bar to show up? Thanks!

Harry
  • 772
  • 10
  • 32

1 Answers1

0

So far, I assume the only reason that could let the navigation bar to be hidden is letting the kind of the segue to be not a Show. From the attached screenshot, it seems that your segue kind is Show Detail, if you would change it to Show it should be good.

Select the segue and then select the attributes inspector, change the "kind" option to: "Show (e.g. Push)":

enter image description here

and you should get the expected result.

Also

If you would like to know what's the difference between Show and Show Details segues, you might want to check: What are the differences between segues: “show”, “show detail”, “present modally”, “present as popover”?

Ahmad F
  • 30,560
  • 17
  • 97
  • 143