I have an iOS 6.1 app.

Info.plist contains:
        <key>UIInterfaceOrientation</key>
        <string>UIInterfaceOrientationPortrait</string>

        <key>UISupportedInterfaceOrientations</key>
        <array>
                <string>UIInterfaceOrientationLandscapeRight</string> 
                <string>UIInterfaceOrientationLandscapeLeft</string>
                <string>UIInterfaceOrientationPortrait</string>
                <string>UIInterfaceOrientationPortraitUpsideDown</string>
        </array>

        <key>UISupportedInterfaceOrientations~ipad</key>
        <array>
                <string>UIInterfaceOrientationPortrait</string>
        </array>

All ViewControllers have:

- (NSUInteger)supportedInterfaceOrientations
{
        return UIInterfaceOrientationMaskAll;
}

But in the iPhone simulator and in the iPhone device the rootViewController 
always has interfaceOrientation = 1 (Portrait).
All other ViewControllers also show interfaceOrientation = 1 (Portrait).


Why does the App not rotate?

What am I missing?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to