0

I'm having an odd problem when I load my detail view from a UITable. It's almost as if the view seems to be loading on top of itself after the segue (to the detail) takes place. Has anyone seen this type of thing before, or have any ideas? It's been working fine for months, and now this happens.

The table view is fine

:

But when I click to go to detail view, I get this: the navigation bar is duplicated, one on top of the other, with the back button pushing itself onto only the bottom bar.

enter image description here

pereirap
  • 59
  • 1
  • 12

2 Answers2

0

In detailViewController u have added a navigationItem by drag & drop, remove that. Because their is already a navigation bar exist from the root navigationController.

From your image i have pointed out that, just delete it.

enter image description here

vishy
  • 3,241
  • 1
  • 20
  • 25
0

Found the solution at this link:

Xcode 4 Navigation item prompt property misbehaving?

the line of code that fixed this was simply:

    self.navigationItem.prompt = nil
Community
  • 1
  • 1
pereirap
  • 59
  • 1
  • 12