Why “shouldAutorotateToInterfaceOrientation” doesn’t Work

The following is from Apple’s Technical Q&A:

  • All child view controllers in your UITabBarController or UINavigationController do not agree on a common orientation set.
  • Overriding the -(id)init: or -(id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle method without calling super. For the object to be initialized properly, you must call super on any init or initWithNibName method you are overriding for your view controllers.

For more detail please see:

Why won’t my UIViewController rotate with the device?

  1. Superb article, I am viewing back persistently to find updates.

  2. Nice site! Thank you for maintaining it. Keep going that way.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>