Navigation bat not displayed at top of page. What's wrong?

Posted by Eytan on Stack Overflow See other posts from Stack Overflow or by Eytan
Published on 2010-04-21T02:48:11Z Indexed on 2010/04/21 2:53 UTC
Read the original article Hit count: 335

I'm having what appears to be a simple problem. I declare a navigation controller but the navigation bar that comes up is not displayed at the top of the page.

http://sphotos.ak.fbcdn.net/hphotos-ak-snc3/hs410.snc3/24784_889732028002_28110599_54506042_4580563_n.jpg

I declare the navigation controller like so...

UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:setupViewController];

[self.view addSubview:navController.view];

Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk