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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:01:47+00:00 2026-05-16T21:01:47+00:00

I have an iPad app that is set to start in landscape mode. From

  • 0

I have an iPad app that is set to start in landscape mode.

From what I read, the UIWindow itself doesn’t need to be rotated, instead it will apply a rotation transform to all of it’s subviews when the device is rotated.

My application has a UINavigationController which has the app’s views, and above it a custom MenuBarViewController which will show sometimes on one edge of the screen.

In my app delegate’s didFinishLaunching.. I do:

[window addSubview:navigationController.view];
[window addSubview:menuBarWrapperViewController.view];
[window bringSubviewToFront:menuBarWrapperViewController.view];

The views within my navigationController seem to be fine, however the view in my MenuBarViewController are not rotated.

I’ve checked, and both my MenuBarViewController and my MenuBarWrapperViewController (which doesn’t do anything yet) return YES to shouldAutorotate..

Does anyone have any idea why one of my UIViews subviews doesn’t get the correct rotation transform?

EDIT: upon further investigation, it seems that UIWindow only applies the transform to the first added subview, so if I change the order of addSubview calls, only the first subview will be rotated.

Does anyone know why?

  • 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-16T21:01:47+00:00Added an answer on May 16, 2026 at 9:01 pm

    Perhaps you should try having one view controller be in charge of handling all rotations of all subviews being displayed.

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

Sidebar

Related Questions

I have an iPad app that uses custom fonts though the UIAppFonts elements in
I have an iPad app that has a UITableViewController that implements the NSFetchedResultsControllerDelegate .
I have this iPad app using Storyboard. There are some file that are marked
I know that after I have deployed my ipad/iphone app into App Store, it
I have an iPhone app that I'd like to convert to an iPad app.
I have an iPad App that is 51.87MB in size. I am trying to
We have a POS apartment leasing iPad app that is used to collect a
strong textI have an iPad app which only allows landscape orientation, and launches in
i need to create an iPad app where i have to show multiple tables(no
I have an app I'm writing that has a set of embedded lua scripts

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.