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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:34:45+00:00 2026-05-25T06:34:45+00:00

How to create a tabbar Controller and Navigation Bar Controller in a window based

  • 0

How to create a tabbar Controller and Navigation Bar Controller in a window based app? I am trying to include both 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-25T06:34:46+00:00Added an answer on May 25, 2026 at 6:34 am

    You can do this as follows…
    Create project of navigationController type..
    then in AppDelegate , create a tabBarController. Have an array of you Viewcontrollers as follows…

    mTabBar = [[UITabBarController alloc] init];
        NSMutableArray *localViewControllersArray = [[NSMutableArray alloc] initWithCapacity:3];
    
    
        TSDetailTaskController *mTSDetailTaskController = [[TSDetailTaskController alloc]initWithNibName:@"TSDetailTaskController" bundle:nil];
        UINavigationController *mTaskNavBar=[[UINavigationController alloc]initWithRootViewController:mTSDetailTaskController];
        mTaskNavBar.tabBarItem.title=@"Task List";
        mTaskNavBar.tabBarItem.image =[UIImage imageNamed:@"glyphicons_114_list.png"];
        [mTSDetailTaskController release];
    
        mTSSearchController=[[TSSearchController alloc]initWithNibName:@"TSSearchController" bundle:nil];
        UINavigationController *mSearchNavBar=[[UINavigationController alloc]initWithRootViewController:mTSSearchController];
        mSearchNavBar.title=@"Search";
        mSearchNavBar.tabBarItem.image=[UIImage imageNamed:@"glyphicons_009_search.png"];
        [mTSSearchController release];
    
        TSSettingController *mTSSettingController = [[TSSettingController alloc]initWithNibName:@"TSSettingController" bundle:nil];
        UINavigationController *mSettingNavBar=[[UINavigationController alloc]initWithRootViewController:mTSSettingController];
        mSettingNavBar.tabBarItem.title=@"Setting";
        mSettingNavBar.tabBarItem.image=[UIImage imageNamed:@"glyphicons_280_settings.png"];
        [mTSSettingController release];
    
    
        [localViewControllersArray addObject:mTaskNavBar];  
        [localViewControllersArray addObject:mSearchNavBar];
        [localViewControllersArray addObject:mSettingNavBar];
    
        [mTaskNavBar release];
        [mSearchNavBar release];
        [mSettingNavBar release];
    
    
        mTabBar.viewControllers = localViewControllersArray;
        mTabBar.view.autoresizingMask==(UIViewAutoresizingFlexibleHeight);
    
        [localViewControllersArray release];
    
    
        [window addSubview:mTabBar.view];
        [self.window makeKeyAndVisible];
        return YES;
    

    hope this will help you out..

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

Sidebar

Related Questions

My iPhone app is a tab bar controller loading 3 navigation controllers: for the
I have a tab bar + navigation based app and I'd like to launch
I create a tab bar controller in the app delegate. Here is the .h
I have a Tab Bar controller inside a Navigation controller. I want to create
I created a tab bar application from the template and added a navigation controller
I created a window application, which has a tabbar controller with four tabbar items.
I'm trying to either add 3 custom buttons to my navigation controller toolbar on
I have a my views and controllers set up like so. A Tab/Bar controller
I am writing an iPhone app with a tab bar and navigation bar. At
I have a tabbar-based app with three tabs, one of them is a running

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.