+1  A: 

check how the size of the view is defined either in interface builder or in your code. Make sure it accounts for the 20 pixels allocated to the status bar, that is the height should be no more than 460.

ennuikiller
+1  A: 

In Interface Builder, make sure "Status Bar" is not set to "None" under "Simulated Interface Elements" in the view's attributes.

Can Berk Güder
A: 

The solution was to load the UIViewController in the old UINavigationViewController. This way the UIViewController keeps its former position. Thanks for your help

Stefan
+4  A: 

Here is the real answer. The dot before (void) is actually a dash.

  • (void)viewWillAppear:(BOOL)animated { // to fix the controller showing under the status bar self.view.frame = [[UIScreen mainScreen] applicationFrame]; }
Aakburns