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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:50:10+00:00 2026-05-30T17:50:10+00:00

This is my first iPad/Storyboard/SplitViewController and it has a table as the master and

  • 0

This is my first iPad/Storyboard/SplitViewController and it has a table as the master and each row is a separate document for the detail view. I am starting from the Xcode 4.2 template.

I have gotten the iPhone half to work. I hooked up a segue from the tableviewcell and get the call:

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {

And with that I can bring up the detail view correctly.

On the iPad storyboard, I don’t get the prepareforsegue call. I have tried creating a segue between the masterviewcontroller and then tried the tableviewcell controls but can’t get it to call my prepareforsegue.

I also tried:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    [self performSegueWithIdentifier:@"segueDetailIpad" sender:nil]; 
}

That will call my Segue, but the tableview doesn’t have an indexPath set. (It is set on the iPhone though).

Also, when I switchback to the iPhone version, it wants to call the same performseguewithidentifier (as above), but then I have to switch between different @”segueDetailIpad” parameters.

It seems to me I am mixing “old” and “new” models and need to find some way to
get the iPad to use the segue and not rely on the didSelectRowAtIndexPath.

Hope this is enough for some suggestions 😉

thx!

  • 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-30T17:50:11+00:00Added an answer on May 30, 2026 at 5:50 pm

    Just as user589310 said I was able to solve my similar problem by embedding the [segue destinationViewController] in a UINavigationController.

    For example:

    - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
    {
        if ([[segue destinationViewController] class] == [UINavigationController class])
        {
            [[[[segue destinationViewController] viewControllers] objectAtIndex:0] setDelegate:self];
        }
        else
            [[segue destinationViewController] setDelegate:self];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on my first iPad based project which has proven a massive
this is my first ever question. I am developing a iPad app that allows
We are new to iOS development and this is our first application for iPad
I'm new to using the split view for creating iPad applications. When I first
I am writing a fairly complex iPad app - my first bigger one. This
I am Started my iPad app using View-Based application. in first two views i
OK... I'm developing an iPad app with using a split view. My detail view
This first bit works: $my_id = 617; $post_id_7 = get_post($my_id); $title = $post_id_7->post_excerpt; echo
Saw this piece of code in a Ruby on Rails book. This first one
problem euler #5 i found the solution but i don't know why this first

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.