I struggled with this problem for several days and days - there were no errors in IB's work.
I ended up getting it to work by adding this line:
mainViewController.view.frame = window.screen.applicationFrame;
for the application: doneFinishLaunchingWithOptions: method. (Where mainViewController is the main UIViewController).
source
share