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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:51:03+00:00 2026-05-31T23:51:03+00:00

I have made a XML parser that list correctly in the UITableViewController. It passes

  • 0

I have made a XML parser that list correctly in the UITableViewController. It passes a few details and also lat and long for the MKMap view. At first my setup was to go directly from the UITableViewController to the DetailViewController, this worked perfectly. It god the proper details from the XML for that selected option in the list.

Current setup:

Navigation Controller > Table View > Detail View Controller

I just want to rearrange the whole storyboard a bit. Instead of going directly to a DetailViewController I want it to be send to the Tab View.

New setup:

Navigation Controller > Table View > Tab Bar Controller - Detail View Controller 1
                                                       |_ Detail View Controller 2

According to my NSLOG the data from the Table View passed to the Tab Bar Controller, but not to the Detail View Controllers, is it anyway possible to lift that data to the Detail View Controllers?

No errors or warnings are shown. But here are some snippets from the code:

This is the Table View Controller, it sends the proper data from the segue to the next controller.

-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  if([[segue identifier] isEqualToString:@"StadionDetail"]) { 
    StadionDetailViewController *detailViewController = [segue destinationViewController];
    NSIndexPath *myIndexPath = [self.tableView indexPathForSelectedRow]; 
    detailViewController.theList = [app.listArray objectAtIndex:[myIndexPath row]];
  }
}

Then TabViewController correctly receives that data, but it doesn’t lift that data over to the Detail View Controllers.

  • 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-31T23:51:04+00:00Added an answer on May 31, 2026 at 11:51 pm

    If you push a UITabBarController you would have to loop through its viewControllers and assign the data to each viewController.

    something like this:

    -(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
        if([[segue identifier] isEqualToString:@"MyTabBarController"]) { 
            UITabBarController *tabBarController = [segue destinationViewController];
            for (MyFancyViewController *vc in [tabBarController viewControllers]) {
                vc.data = ...
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XDocument class with the XML contents already made. I basically want
I am trying to match elements that have no other children elements, but also
I have a hash that i wanted to parse to XML using SimpleXML but
My question is the following. I have xml that is versioned by a namespace.
I have a Java program that is generating XML data which happens to be
I have made an application (for my self) for feeds reading, using SyndicationFeed ,
I have made a multiplayer game using the GameKit Framework where 2 iPhones/iPods can
I have made a kind of Video Slider, where thumbnail of videos are displaying
I have made a game which is nearly identical to Popcap's Atomica. ( http://www.popcap.com/gamepopup.php?theGame=atomica
I have made a generic Observer interface and an Observable class, but can't compile

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.