0

I am having a strange problem with a simple test app I am writing for iPhone. I have a view with a flip side view. Now suddenly this view has the title two times high. In the IB (I am using xcode 4) this is how it is looking

Picture of the IB

In the end I get a two times higher title bar. Anyone ideas?

Thanks in advance, Umberto

Umberto
  • 1,387
  • 1
  • 13
  • 29

1 Answers1

1

The navigation item seems to have its prompt set. You will have to set it to nil.

self.navigationItem.prompt = nil; 

or if you've access to the navigation bar,

navigationBar.navigationItem.prompt = nil;
Deepak Danduprolu
  • 44,595
  • 12
  • 101
  • 105
  • I tried but it didn't help actually... and sorry for the late reply, was out for the weekend... – Umberto Jun 20 '11 at 16:41
  • BUt you are right, adding a value for the prompt fill the black space above the title, but setting to nil does not remove the space. – Umberto Jun 20 '11 at 16:42
  • Well if I try setting the prompt and then remove it, it doesn't adjust correctly. Your best bet would be to delete the navigation bar and add it again. And this seems to be a bug. You should file it. – Deepak Danduprolu Jun 20 '11 at 16:50
  • Ok. The navigation bar was added automatically by IB when I created a small test app. Thanks for the feedback. – Umberto Jun 21 '11 at 20:15