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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:50:21+00:00 2026-06-06T07:50:21+00:00

For my ipad application i have requirement like this For each row in root

  • 0

For my ipad application i have requirement like this

For each row in root view, i want to display different detail view and

Detail view has some buttons click on it will show another view ( detailview needs to be under navigation controller)

Anyone can give me tutorial/example code/video which meets this requirement?

I have tried more than 20 similar questions here and search youtube and all but no luck.

I got one link http://kshitizghimire.com.np/uisplitviewcontroller-multipledetailviews-with-navigation-controller/ but it has some problem with pop-over is not being hidden when we select a row in portrait mode.

Any help would be appreciated.

Thanks.

PS: My requirement is something like this

ROOTVIEW
|— OPTION 1
|— (uinavigationcontroller)
| |OPT1_DETAILVIEW
| |– OPT1_DRILLDOWNVIEW1
| |–OPT1_DRILLDOWNVIEW2
| |–etc
|— OPTION 2
|— (uinavigationcontroller)
| |OPT2_DETAILVIEW
| |– OPT2_DRILLDOWNVIEW1
| |–etc
|— OPTION 3, etc
  • 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-06T07:50:22+00:00Added an answer on June 6, 2026 at 7:50 am

    I also faced this problem for my project. I accomplished this using following code

    What you have to do is when you tap on any cell of root view controller’s tableview you have to load the appropriate viewcontroller.

    The following code you have to write in tableViewDidSelectRowaAtIndexPath section of root view controller’s tableview.

    - (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    
        //Load previous controllers array.
    
        NSMutableArray *viewControllerArray=[[NSMutableArray alloc] initWithArray:splitViewController.viewControllers]; 
    
        //Remove last Detail View controller Object.
    
        [viewControllerArray removeLastObject];
    
        // Check appropirate row value.
    
        if (indexPath.row == 0) {
            // Add new Detail controller in your array ...
            FirstViewController *fvc=[[[FirstViewController alloc] initWithNibName:@"FirstViewController"  bundle:nil] autorelease];        
            [viewControllerArray addObject:fvc];
        }
        else if (indexPath.row == 1) {
            // Add new Detail controller in your array ...
            SecondViewController *svc=[[[SecondViewController alloc] initWithNibName:@"SecondViewController"  bundle:nil] autorelease];        
            [viewControllerArray addObject:svc];
        }
        // And so on..
    
        // Set New View Controllers of SplitViewController
    
        [splitViewController setViewControllers:viewControllerArray];   
        [viewControllerArray release];      
    }
    

    I did that and it worked. I hope it may help.

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

Sidebar

Related Questions

I have this iPad application with different NIBs and views. Each view has two
I have an iPad application that has a base image UIImageView (in this case
I have ipad application which has 3 tableviews with holds data like label,image,property lists
In my iPad Application I have multiple views on a screen. What I want
I am working on application for Ipad.in this application i have a UIButton on
I have implemented ipad application in which i want parse table of content but
I have written a tab based iPad application which has done well. I never
I created an iPad application in which I would like to have my searchBar
I have been working on ipad application. In this application I have several views.
I have an iPad application which has a sign up form within it. The

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.