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

  • Home
  • SEARCH
  • 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 4626042
In Process

The Archive Base Latest Questions

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

I have created a tabbar based project and my first tab have a navigation

  • 0

I have created a tabbar based project and my first tab have a navigation controller. and in my navigation controller (after push 2 views) i want to add/push one other tabbarcontroller. so please can any one suggest how i do this.

  • 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-22T03:21:39+00:00Added an answer on May 22, 2026 at 3:21 am

    UPDATE: After reading your post once more I think I misunderstood it! UINavigationControllers can’t have a UITabBarController inside them, it only works the other way round!

    If you really want to do this (really think about it!!) you could write your own implementation of a UITabBarController that is happy inside of a UINavigationController (Twitter for iPhone uses such a custom written UITabBarController)

    Link: UITabBarController insider UINavigationController


    Just feed the tabbarcontrollers viewControllers property with an NSArray containing your UIViews.
    tabcontroller =[[UITabBarController alloc] init];

    UINavigationController *navcon = [[UINavigationController alloc] init];
    UINavigationController *navcon2 = [[UINavigationController alloc] init];
    UINavigationController *navcon3 = [[UINavigationController alloc] init];
    [navcon pushViewController:someuiview animated:NO];
    [navcon2 pushViewController:someuiview2 animated:NO];
    [navcon3 pushViewController:someuiview3 animated:NO];
    
    [someuiview release];[someuiview2 release];[someuiview3 release];
    
    tabcontroller.viewControllers=[NSArray arrayWithObjects:navcon, navcon2, navcon3, nil];
    [navcon release]; [navcon2 release]; [navcon3 release];
    

    someuiviewn are subclasses of UIViewControllers (maybe UITableViewControllers for example (or whatever :))

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

Sidebar

Related Questions

I have a tabbar based app and would like to reference one of three
I have a tabbar application and on the first tab I have a MKMapView
I am new to iphone development.I have created a view based application.Now i want
I have a tabbar-based app with three tabs, one of them is a running
I have a tab bar application and I want to display those views that
I have developed an iPhone application based on Tab bar & Navigation bar and
I have created a custom dialog for Visual Studio Setup Project using the steps
I have created a foreign key (in SQL Server) by: alter table company add
I have a UITableView (on a navigation controller stack) which is showing details for
I created a window application, which has a tabbar controller with four tabbar items.

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.