I have
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
in info.plist and did a search and set every instance of shouldAutorotateToInterfaceOrientation
to return YES
. But on iPhone it behaves as if upsidedown is not supported. UpsideUp portrait works, landscapes work, updsidedown shows landscape. Why?
iPad works fine in all orientations. And they share .xibs
UPDATE
I have since added
- (BOOL)shouldAutorotate {
return YES;
}
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
after every existing instance of shouldAutorotateToInterfaceOrientation
and still no love.
I am targeting iOS 4.3 but my simulator and physical device run iOS 6
self.window setRootViewController:
, you might want to check it. – CompressedrootViewController
in the AppDelegate withself.window.rootViewController = mycontroller
. I just tried doing it the square bracket method way you mentioned. No change. – Tew