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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:31:48+00:00 2026-06-13T21:31:48+00:00

I have a Tab bar Controller containing 5 Tabs and each tab bar item

  • 0

I have a Tab bar Controller containing 5 Tabs and each tab bar item has individual navigation controller like :
enter image description here
enter image description here

Now , If i am currently in viewctrller3 of navigationctrller3 in Tab3 and i want to navigate to viewctrller2 of navigationctrller1 in Tab1 programmatically . Also I’ve selected the particular Tab1 programmatically But i m unable to reach viewctrller2 of
navigationctrller1. Is this feasible ?, If yes , then please elaborate..
Please guys join hands..!

  • 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-13T21:31:50+00:00Added an answer on June 13, 2026 at 9:31 pm

    If you are currently in viewctrller3, I think you should be able to do this:

        UITabBarController *tabCont = (UITabBarController *)[self.navigationController parentViewController];
        [tabCont setSelectedIndex:0];
        UINavigationController *nav1 = tabCont.selectedViewController;
        NSarray *newControllers = [NSArray arrayWithObjects:[nav1.viewControllers objectAtIndex:2],[nav1.viewControllers objectAtIndex:0],[nav1.viewControllers objectAtIndex:1], nil];
        [nav1 setViewcontrollers:newControllers animated:NO];
    

    That last line should rearrange the navigation controller’s viewControllers so that viewctrller2 is now the top view controller.

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

Sidebar

Related Questions

I have a tab-bar and navigation controller application (like Youtube app or Contacts app).
I have a tab bar along with navigation controller iphone application. Now I need
I have a tab bar controller with three tabs. Tab number two has a
I have setup tab bar controller using interface builder, and each tab bar item
I have a tab bar controller and each tab consist of a navigation controller.
I have a tabbar application. And the item of first tab is Navigation Controller.
I have a tab bar controller with five buttons. That controller has a tab
i have one tab bar controller with 4 navigation controller connection 4 tab bar
Let's say I have a Tab Bar Controller with a tab A. A has
Here's the setup: I have a tab bar controller with two tabs. There is

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.