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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:29:42+00:00 2026-05-29T18:29:42+00:00

I am using iOS5 with Storyboard and my scenes are like this : NavigationCOntroller

  • 0

I am using iOS5 with Storyboard and my scenes are like this :

NavigationCOntroller ->(Nav view 1) TableViewController -> TabBarController ->(Tab1)TableViewController
and similarly I more tabs under my TabBarController.

Now I go to Tab1 when user clicks on any row in my TableViewCOntroller and before PerformingSegue I want to send some data to my Tab1(TableViewController) like this

MyTableVController *tvc = segue.destinationViewController;
tvc.selectedObject =  currentObject;

[UITabBarController setSelectedObject:]: unrecognized selector sent to instance 0x68c9450

Now why is it assuming that ‘MyTableVController’ is a UITabBarController and searching for setSelectedObject method ???

And how can I pass data to my TableViewCOntroller in this scenario ?

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-29T18:29:44+00:00Added an answer on May 29, 2026 at 6:29 pm

    OK I have found solution to my problem , I did like this

    UITabBarController *tabController  = (UITabBarController *)segue.destinationViewController;
         MyTableVController *tvc = (MyTableVController *)[viewControllers objectAtIndex:0];
    

    And thats how you have your required viewcontroller and pass data to it.

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

Sidebar

Related Questions

In iOS5 using storyboard feature I want to create a custom container which will
I'm working on an iOS5 app using storyboard, and I have a method in
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
I created an app using the iOS 5 Storyboard feature, and have decided I
I've developed an app using xcode 4.2 and storyboard and yesterday when I tried
My app is crashing using iOS5 and iOS4.3 iPhone simulators in Xcode 4.2, the
I'm trying to delete a row using Xcode 4.2 and a storyboard. The Table
I am trying to port my app to iOS5. I am using a TCP
I've seen 2 approach to doing this which is via UIWebView and using Quartz
I am just learning objective-C, and have a book with code like this: NSArray

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.