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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:57:09+00:00 2026-05-16T05:57:09+00:00

Simple iPad app. App loads and displays a UITableView controlled by a subclass of

  • 0

Simple iPad app.

App loads and displays a UITableView controlled by a subclass of UIViewController.
This works and rotates perfectly.

Clicking on a row in the table view causes a new subview to be created, also controlled by a UIViewController subclass.
This displays fine in portrait but does not adjust to landscape and does not respond to device rotation.

Both of the view controllers have inlcuded:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    NSLog(@"Responding to rotation");
    return YES;
}

However only the original view controller responds to this:

   - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
{
    NSLog(@"View About to rotate");
}

In IB I have checked that the view will autoresize and the components within it (a UIScrollView and some UILabels) will adjust properly.

Can anyone help me in working out why the subview isn’t responding.?

  • 1 1 Answer
  • 3 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-16T05:57:09+00:00Added an answer on May 16, 2026 at 5:57 am

    Not sure, but AFAIK only one UIViewController is active at a time (in terms of receiving events from UIKit). Is your second view controller pushed via -presentModalViewController:animated: ? If not, you might need to proxy the -willRotateToInterfaceOrientation: method (and maybe others as well) from the one that does receive the events to the other one.

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

Sidebar

Related Questions

I am trying to create a simple ipad app with a UIWebview that displays
I'm probably not doing this correctly. Having not done an iPad app before I'm
I am trying to build an fairly simple iPad app that requires me to
I'm working on a simple iPad app which has an animation of 12 separate
I'm building a simple puzzle app for and iPad using a JavaScript library for
I was recently asked if I could code a simple IPhone/IPad app that: Checks
Ok I need to implement a simple measuring tool for an iPad app I
I am doing a minimal port of a simple iPhone/iPad app (think 2D casual
I made my first serious iPad app with Xcode3. It is a pretty simple
I'm porting a fairly simple iPhone Navigation based app to a Split View iPad

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.