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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:13:21+00:00 2026-05-17T03:13:21+00:00

I am developing for iPad and have created a standard UISplitViewController application using the

  • 0

I am developing for iPad and have created a standard UISplitViewController application using the template provided in Xcode – a standard UITableView on the left and a detail view on the right.

I have modified the template so that when a user selects a table cell from the left view it pushes a new table view in it’s place (still on the left side). This works without issue, but I would like to be able to update the existing detail view from the new table view – kinda like how Apple’s Mail application works.

– I am not trying to create multiple views on the detail view (right hand side) – I’ve read the documentation and seen the sample code provided by Apple.

I read/followed many tutorials, but can’t seem to get this relatively simple view hierarchy to work.

More detail:-

Using detailViewController.detailItem = @"Test"; in the RootView didSelectTableRowAtIndexPath delegate method updates the Detail view label. Using the exact same code in the newly pushed Table View does not update the label – am I missing a reference point or something??

Since posting I’ve tried to use protocols & delegates to update a label on the detail view. The label updates correctly when changed from the Root View using the new methods, however, when I push a new view onto the root view (left hand side) I can no longer update the label.

  • 1 1 Answer
  • 1 View
  • 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-17T03:13:22+00:00Added an answer on May 17, 2026 at 3:13 am

    At some point after creating the RootViewController (or maybe even in a custom init method) you are setting the delegate for the DetailViewController, its a common mistake that when a new rootViewController is pushed onto the NavController that you forget to set the delgate again.

    You probably are creating a new controller in the:

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;

    method and recording/incrementing the level of the new controller before you push it onto the navController. After you create this new controller, set the delegate again.

    newRootController.myDelegate = self.myDelegate;
    

    Before you do this If you NSLog the delegate just before you use it, you will probably find its nil.

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

Sidebar

Related Questions

OK... I'm developing an iPad app with using a split view. My detail view
I am developing an iPad application by which i am using image context to
I am developing an iPad application using sdk 5 and storyboard. I´m following the
I am developing an iPad application in which I need a table view (
I am developing a view based iPad application.It is a simple view based application
I'm developing an iPhone and iPad application with Xcode 4.2 and latest SDK. I
I am developing an iPad application. I have an SQLite database in my resource
I have a PhoneGap application I am developing for iPad that uses video extensively,
I'm currently developing an iPad application that integrates MapKit. But I have a small
I am developing a webapp for ipad and have come across an issue using

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.