I currently have an iPhone application which has 4 tabs, when I click any of those tabs, the application should show a new view with a Nav Bar which then contains a table view.
My problem: there was blank space (about 20 pixels) showing between the status bar and the Nav Bar. I tried looking in the Nibs about setting this value but without luck.
What’s even weirder is the fact that this problem does not occur when running against the OS 3.0 simulator.
Fortunately, after days of searching, I found the workaround for OS 2.2.1 and below.
CGRect frame = navController.view.frame;
frame.origin.y = 0.0;
navController.view.frame = frame;
Answer taken from iphonedevsdk.com.
Hope this helps!

No Comments so far ↓
There are no comments yet...Kick things off by filling out the form below.