I'm using Xcode 4.0 and when building my view in Interface Builder everything looks great. When I run my app with the simulator or iOS device the whole view is off vertically (showing a white bar at bottom). It looks to be off by 20 pixels. TabBar, Labels, Tableview, Text and background image are all shifted up. Any ides? Thanks
Asked
Active
Viewed 269 times
3
-
20 pixels is the size of the status bar. Do you have it hidden in the app but not IB? – ughoavgfhw Mar 24 '11 at 18:27
-
When running the app the status bar is still there. ???? – Steve Mar 29 '11 at 20:08
1 Answers
1
Are you running fullscreen? I'm guessing that you've set the Status Bar to 'None' which means the size of your view in the Interface Builder is wrong.
In your *ViewController.xib when you set the Status Bar to 'None' it sets the height of the view to be 460, when it should be 480.

Wex
- 4,434
- 3
- 33
- 47
-
Yes running full screen and the status bar is set to Gray. But your right it's like it thinks I have said None to status bar and so it shifted everything up. – Steve Mar 29 '11 at 20:05