In the viewDidLoad method I add any combination of these and I can't get it to work:
CGRect appFrame = [[UIScreen mainScreen] applicationFrame];
[[self tableView] setBounds:appFrame];
// self.view.frame = appFrame;
// self.view.bounds = appFrame;
// [[self tableVew] setFrame:appFrame];
self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
There is always a 20px gap at the top with my previous screen showing through.