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 8671015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:50:40+00:00 2026-06-12T18:50:40+00:00

I have an app that is on the app store supporting version ios5+. When

  • 0

I have an app that is on the app store supporting version ios5+. When I deployed this app to the store the base sdk was set to 5.0 and the deployment target was ios 5.0. It is currently running fine on ios 5 and 6 devices.

I have since upgraded my IDE to ios 6.0 – the base SDK is 6.0 and the deployment target is 5.0. however when I run this app in the 6.0 simulator or device I get shouldautorotate issues due that message being depreciated.

  1. Why if my deployment target is 5.0 is giving me these issues – I don’t want to use ios 6.
  2. Why can I not set my base sdk to 5.0?

Update:
This is how my controller looks currently. Unfortunately the preferredInterfaceOrientation is only getting called once not every time the orientation changes – this is no good for me as I manipulate the view in this method:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{
    [self layoutHomeViewButtons:toInterfaceOrientation];

    return YES;
}

- (BOOL)shouldAutorotate
{
    return YES;
}

- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
{
    return UIInterfaceOrientationLandscapeRight;
}

- (NSUInteger)supportedInterfaceOrientations
{

    [self layoutHomeViewButtons:[self getInterfaceOrientation]];

    return UIInterfaceOrientationMaskAll;
}

Update 2:
I have figured out how to get the supportInterfaceOrientations method to get called. In my MainWindow.xib I have a navigationcontroller set as the window’s root view controller. As a subitem of this navigationcontroller I have my homeviewcontroller where the code above resides.

If I change this link so that the window’s rootviewcontroller is the homeviewcontroller then the method gets called. However I need this navigationcontroller for my ui!

  • 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-06-12T18:50:41+00:00Added an answer on June 12, 2026 at 6:50 pm

    The reason why these ios6 methods were not being called is because I was setting the rootviewcontroller of the window to be a navigationcontroller instead of my homeviewcontroller and that is why the methods were not called.

    This is not useful for my solution so I am searching for answers but this does solve this question.

    See my follow up question where I am trying to figure out how to have my navigationcontroller as the rootviewcontroller: iOS 6 bug: supportedInterfaceOrientations not called when nav controller used as window root

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

Sidebar

Related Questions

I know that after I have deployed my ipad/iphone app into App Store, it
I have an app on the app store that was deployed with a certificate
I have an app that is already in the App Store. For this current
I have an iOS App that may store confidential information and also uses iCloud
I have an existing iOS app on the App Store that includes Game Center
Previously, I have an app that uses core data. I use same store url
I'm just curious, if I have an app that's paid on the store and
I have an iPhone app that I've built for the app store. Before I
I have a new app that I made and put in the store yesterday.
I have some things in my app that I need to store, in order

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.