Upside Down


I have set (clicked) all four orientations in the Supported Device Orientations of the Summary pane. The app auto rotates to all orientations, except Upside Down. Why is this? Thanks.

Running iOS 6.1.3 on an iPhone 4S, and Xcode 4.6.2.


Have you added that view to HeavyViewController.m?

I would think that you would need to add another “or” here and give that as one of the orientation possibilities.

|| (x==UIInterfaceOrientationPortraitUpsideDown)
Not sure if that is quite the right syntax though.

//This is deprecated in iOS6 -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)x { //Return YES if incoming orientation is Portrait //or either of the Landscapes, otherwise, return NO return (x==UIInterfaceOrientationPortrait) || UIInterfaceOrientationIsLandscape(x); }