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

  • Home
  • SEARCH
  • 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 8474487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:38:24+00:00 2026-06-10T17:38:24+00:00

I Have implemented – (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } in all of my controllers.

  • 0

I Have implemented

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

in all of my controllers. I have the 4 orientation in info.plist and yet my app doesn’t want to rotate. The only thing rotating is the top bar. My table view does not rotate…but i can see behind my table view that is it rotating like it should but i can’t access it because my original table view (the one that is not rotating) is right over it and takes 95% of the screen.

This is about what it looks like

Thanks for any support you can give me!

  • 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-10T17:38:25+00:00Added an answer on June 10, 2026 at 5:38 pm

    I have a similar problem, where the view is not automatically rotating. I don’t have a solution, but I have a workaround. In your view controller’s willRotateToInterfaceOrientation, rotate the view explicitly:

        switch (toInterfaceOrientation) {
            case UIInterfaceOrientationLandscapeLeft:
                self.view.transform = CGAffineTransformMakeRotation(M_PI * 0.5);
                break;
            case UIInterfaceOrientationLandscapeRight:
                self.view.transform = CGAffineTransformMakeRotation(M_PI * -0.5);
                break;
            case UIInterfaceOrientationPortrait:
                self.view.transform = CGAffineTransformMakeRotation(0);
                break;
            case UIInterfaceOrientationPortraitUpsideDown:
                self.view.transform = CGAffineTransformMakeRotation(M_PI * 1);
                break;
            default:
                break;
        }
    

    I’m calling this a workaround, because I think the view should rotate automatically without an explicit CGAffineTransformMakeRotation call. In my case, I’m instantiating a different view for landscape, which I need to rotate this way. I have other projects, where the separate view is rotating automatically. I don’t know why it doesn’t do it in this case.

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

Sidebar

Related Questions

I have implemented VirtualPathProvider class so I can keep all my views in the
I have implemented AJAX functionality on my Wordpress site and all my menu items
I have implemented correctly bump's api, and added this code: - (void) configureBump {
I have implemented pagination to my data, but the problem is I only have
I have implemented a table view with multiple threads. Currently when a user taps
I have implemented a test method with Jersey to run on my Google AppEngine
I have implemented Facebook into my app but now I find that whenever I
I have implemented clean URLs using the following in my .htaccess RewriteEngine on RewriteCond
I have implemented a very basic sign up using email address+name, although I would
I have implemented one matrix multiplication with boost::numeric::ublas::matrix (see my full, working boost code

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.