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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:31:08+00:00 2026-05-29T10:31:08+00:00

I have an app for iPad with a UISplitViewController in it (UsersSplitViewController). On the

  • 0

I have an app for iPad with a UISplitViewController in it (UsersSplitViewController). On the left side (ROOT) of it I installed a UINavigationController (while the right side is used for a custom view).
The Navigation Controller has a hierarchy of 2 view controllers (2 different tableViews). As long as i push the second tableView on the stack (by selecting a row in the first tableview) everything works just fine: the animation consists in the second tableview sliding in from the right (default). However, when I touch the back button while the second controller is showed, instead of animating just the navigationController, the whole SplitViewController is animated (sliding in from the top of the screen!). Obviously, this is ugly, and just what i don’t want… can anyone help?

This is where all the main controllers get instatiated (inside AppDelegate):

usersSplitViewController=[[UISplitViewController alloc] init];
usersRootViewController=[[UsersRootViewController alloc] initWithDataSource:self];
usersRootViewController.dataSource=self;
usersRootViewController.appDelegate=self;
usersDetailViewController=[[UsersDetailViewController alloc] init];
usersDetailViewController.dataSource=self;
usersDetailViewController.appDelegate=self;
usersDetailViewController.urvc=usersRootViewController;
usersRootViewController.usersDetailViewController=usersDetailViewController;
usersSplitViewController.viewControllers=[NSArray arrayWithObjects:usersRootViewController,usersDetailViewController,nil];
usersSplitViewController.delegate=usersDetailViewController;
[usersRootViewController release];

this is where, inside UsersRootViewController (subclass of UINavigationController), I instantiate the tableViews to be showed:

UITableViewController *userKindTableViewController=[[UITableViewController alloc] init];

//first tableView:
userKind=[[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStyleGrouped];
userKind.dataSource=self;
userKind.delegate=self;

userKindTableViewController.tableView=userKind;
userKindTableViewController.contentSizeForViewInPopover=CGSizeMake(320.0, 200.0);
[self pushViewController:userKindTableViewController animated:NO];
[userKindTableViewController release];

//second tableView:
usersOfKindTableViewController =[[UITableViewController alloc] init];
usersOfKind=[[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStylePlain];
usersOfKind.dataSource=self;
usersOfKind.delegate=self;
usersOfKindTableViewController.tableView=usersOfKind;
usersOfKindTableViewController.contentSizeForViewInPopover=CGSizeMake(320.0, 600.0);

finally, i Push the second TableView in the first one’s “didSelectRowAtIndexPath”:

[self pushViewController:usersOfKindTableViewController animated:YES];

Thanks

  • 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-29T10:31:08+00:00Added an answer on May 29, 2026 at 10:31 am

    You need to overide the UITableViewController class and implement the

    shouldAutorotateToInterfaceOrientation: 
    

    method so that it returns YES for

    UIInterfaceOrientationLandscapeLeft and UIInterfaceOrientationLandscapeRight
    

    orientations.Then use this class for your userKindTableViewController and usersOfKindTableViewController variables.

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

Sidebar

Related Questions

I have created an iPad app that has 10 view controllers that swipe left
I am working on a universal app, I used UISplitViewController in doing iPad application.
In my app for iPad I have to use a Text View. I wrote
I have used the template from ipad to create a splitView app but the
I have a split view controller in my Ipad app, in which the detail
I have a universal app, and on the iPad version I'm using UISplitViewController to
Background & Objective: I have a UISplitViewController based iPad app - till now it
I have a UISplitViewController in an iPad app. When something is selected from the
I have an iPad app with split view controller. I want to programmaticaly create
I am doing an iPad app based on a UISplitViewController. I have a little

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.