Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6984033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:29:51+00:00 2026-05-27T18:29:51+00:00

In XCode4.2 + iOS5 SDK, I set Supported Device Orientation to be Portrait only.

  • 0

In XCode4.2 + iOS5 SDK, I set “Supported Device Orientation” to be “Portrait” only. I expect that would make all views in the application to only support “Portrait” orientation. However, while I rotate the iPhone simulator, I found that other orientations still work.

It seems that the method shouldAutorotateToInterfaceOrientation in ViewController is the key to decide whether given orientation is supported. So, why bother to have “Supported Device Orientation” setting in the application level if doesn’t limit orientation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:29:52+00:00Added an answer on May 27, 2026 at 6:29 pm

    Here’s a quote from documentation for UISupportedInterfaceOrientations property:

    UISupportedInterfaceOrientations (Array – iOS) specifies the interface orientations your application supports. The system uses this information (along with the current device orientation) to choose the initial orientation in which to launch your application. The value for this key is an array of strings.

    E.g. this property determines possible orientations your application may be launched in (it’s actually most used on iPad). The latter orientation changes are up to your ViewControllers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do we put a restriction to target only device under iOS5 ? I
Im trying to use an sqlite database in xcode 4.2 and ios5 sdk. The
I have recently updated Xcode to use the iOS5 SDK. Since updating my app
I have this weird problem.. I'm building an in-house app that should register all
Background After upgrading xcode4.1 / ios4 to xcode4.2 / ios5 I am experiencing crashes
I recently updated XCode (4.2 with iOS5 SDK) and now my app is throwing
I just started a new project running Xcode 4.2.1 and iOS5 SDK. The project
Xcode4.2,SDK is 5.0 QuartzCore.framework has been added. #import <QuartzCore/QuartzCore.h> @property (retain, nonatomic) IBOutlet UIImageView
I downloaded XCode and it only has the iOS 5 sdk How do you
How to install IBPlugin to Xcode4?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.