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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:34:58+00:00 2026-05-14T18:34:58+00:00

I have a view based app. Its self.view has several subviews and shouldAutorotateToInterfaceOrientation is

  • 0

I have a view based app. Its self.view has several subviews and shouldAutorotateToInterfaceOrientation is returning YES.

When I rotate the device, all views rotate as expected.

Is that possible to prevent a subview from auto rotating even if the view’s parent is auto rotating?

  • 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-14T18:34:58+00:00Added an answer on May 14, 2026 at 6:34 pm

    Keep in mind that it’s the view controller that controls what happens during rotation and not the view itself. You can’t stop a subview from rotating by setting a property, or something relatively easy, if its parent view’s UIViewController is set to auto rotate. You can, however, have sibling views where one rotates and the other doesn’t. It’s probably possible to layout your views the way you want but not have the one that shouldn’t rotate as a subview of a rotating UIViewController.

    You could probably write some code that will reorient a subview so it appears not to rotate when the parent view does rotate, however.

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

Sidebar

Related Questions

I have a view controller based app that contains several views that I display/hide
I have an iPhone app which has a Table View-based data input screen with
I have an view in my App which has a number of buttons based
I have a navigation based app where a certain pushed view has a nice
I have an iOS app I created as a view-based app in xCode. I
I have app to create a graph i have created a view based app
I have a Document based core data app. The main document window has a
I have an app based on the Utility template (i.e. Main and Flip view
I have a NavigationController based iPhone app that has a navigationBar and a toolbar.
I have an app that when loads, loads a tab based app whereby all

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.