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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:39:56+00:00 2026-06-17T15:39:56+00:00

I have to support down to iOS 4.3. My app outputs in the console

  • 0

I have to support down to iOS 4.3.

My app outputs in the console :

Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations.

As far as I know I’m not using two-staged rotation. I just have this method in my view controllers :

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return YES;
}

What else should I check in order to fix that?

Edit:
More precisions: my app uses a UITabbarController subclass. When the app starts, it checks if a user is logged in and then initiates the controllers of the tabbar controller if it’s the case. If there’s no user logged in, a modal view is presented (from the tabbar controller) the prompt the user to login and the controllers of the tabbar controller aren’t initialized (yet). The “two-staged rotation” error is shown only at that moment and the rotation doesn’t work.

So to summarize, the problem happens in that situation:

  • The rootViewController of the main window is the tabbar controller
  • The tabbar controller is empty (there are no view controller in the tabs and there’s no tab)
  • A view controller is modally presented from the tabbar controller
  • 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-17T15:39:57+00:00Added an answer on June 17, 2026 at 3:39 pm

    OK I found a solution.

    It seems like the presented modal view won’t rotate until the viewControllers property of the UITabBarController is initialized. Since the concerned modal view is actually for login, I don’t want to display anything behind it until the user is logged in because the views intended to be hold by the tabbar controller depend on the fact that a user is logged in.
    So now just before presenting the modal view, I initialize the tabbar controller with a single, empty UIViewController and I remove it when the modal view is dismissed (i.e. a user logged in).

    Perhaps it seems like a hack but it works well. And even if I don’t understand why, it doesn’t seem completely illogical that the tabbar controller doesn’t behave like we want until it is fully initialized.

    If someone has a better solution or explanation, feel free to comment 🙂

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

Sidebar

Related Questions

I'm adding share functionalities to my iOS app (I have to support down to
I have an iOS app which is using ASIHTTPRequest to talk to a REST
I know IE7 & IE8 supposedly have support for using multiple CSS class selectors,
I have a universal iOS app with a custom view that has three buttons,
I have use devise_openid_authenticatable to support OpenID with devise in rails3 beta4. But when
I have a project which targetVersion is 16 and I'm using SherlockActionBar and support-library
i'm making an app for ios and android using phonegap and html. In my
I am using admin_assistant and have hacked on MongoDB support. The only issue now
I have two drop down list in my webpage and one is dependent on
Does emacs have support for big numbers that don't fit in integers? If it

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.