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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:17:00+00:00 2026-06-05T19:17:00+00:00

I have two views, both under the NavigationController. I don’t want View 1 (on

  • 0

I have two views, both under the NavigationController.
I don’t want View 1 (on the left) to rotate, but I do want the View 2 (on the right) to rotate. View 1 and View 2 are routed to different classes.
enter image description here

I put this code in the View 2 class to implement the behavior and it’s not working. It works with modal views in my app, thought

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}

I wouldn’t like to make the view №1 rotatable under any circumstances.
Any ideas how to do this?
Thanks in advance!

  • 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-05T19:17:01+00:00Added an answer on June 5, 2026 at 7:17 pm

    The behavior you’re wanting is unfriendly to the user and possible against HIG. The reason it isn’t working is because there are protections in UINavigationController against this disruptive behavior. When you have viewControllers Nav, tab, or modal with different rules for rotation it can sometimes fail, jerk, or otherwise not work at all as you see.

    Basically I’m saying don’t do this. Not that its not possible.

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

Sidebar

Related Questions

I have two view controllers in a tabbar which can both edit data. Therefore,
I have two UIImageView objects inside my view (both 320x480 one above the other).
I have two nested DialogViewControllers - a View and an Edit. Both render data
I have two views, one view takes the whole screen, the second view covers
I have two views within one .xib (one view for landscape, another for portrait).
I have two views.In first view, I have a table view and I am
I have a repositories, i want to have two views: Developers can see the
I have two separate views that both show multiple lists of values. Both views
I have two different views that makes upwards of 500 partial view calls each
I have two overlapping custom views that need to both receive touch events (e.g.

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.