iphone app doesn't respond after starting in landscape orientation on iPad

2 Solutions Collect From Internet About “iphone app doesn't respond after starting in landscape orientation on iPad”

I have found that this is unique to iOS 6 devices, but if you remove all of the entries under “Supported interface orientation” in the app’s plist, this problem goes away. Or if you check the “Hide during application launch” option for the “Status Bar” settings on the Summary screen of the Target settings, this also fixes it:

hide during application launch

There’s no logical reason that I can see that either of these options should fix this bug, but they both do.

If you play around with the supported orientation settings in iOS 6, you can still programmatically control the permitted interface orientations via supportedInterfaceOrientations (or in iOS 5, you can still use theshouldAutorotateToInterfaceOrientation: method).

It seems that just adding [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone]; at the beginning of didFinishLaunchingWithOptions: function does the trick. No need to change the plist settings file.