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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:32:47+00:00 2026-05-22T01:32:47+00:00

I have an aplication which initially there’s a TabBarController, each tab is a ViewController

  • 0

I have an aplication which initially there’s a TabBarController, each tab is a ViewController and every one has a button which calls other controllers.

So how am I supose to structure this? Having one main rootviewController (if so, how?)? Or calling in the appdelegate only the tabBarController and in each the viewControllers inside the tab call the other controllers?

What’s the best way so I can advance, go back and transition views nimbly?

Don’t know if I made myself clear…

Thanks guys.

  • 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-22T01:32:48+00:00Added an answer on May 22, 2026 at 1:32 am

    Generally you will start with the Template called “Tab Bar Application” and as of Xcode 4 starts by loading the MainWindow Nib, which hold a tab bar and the tab bar is set up in IB to have 2 view controllers, called “FirstViewController”, and “SecondViewController”…

    You can follow that pattern if it suites you, otherwise you may want to start with a view based application and add your own tab bar. I personally find it to be easier to control the tab bar, through the UITabBarDelegate, especially if you plan to do anything slightly esoteric.

    Edit:

    Basically one of two ways, if you plan to load a Navigation controller stack, or a single modal view.

    1)

    ThirdViewController * controller = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil];
    UINavigationController * myNavigationController = [[UINavigationController alloc] initWithRootViewController:controller];
    
    [self presentModalViewController:myNavigationController animated:YES];
    [controller release];
    [myNavigationController release];
    

    2)

    ThirdViewController * controller = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil];
    [self presentModalViewController:controller animated:YES];
    [controller release];
    

    either way get back to the Tab environment by calling the following on the view controller that is calling present modal.

    [self
    dismissModalViewControllerAnimated:YES];

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

Sidebar

Related Questions

I am thinking of making an (initially) small Web Application, which would eventually have
I have an application which has the requirement, but infrequent usage, of uploading an
There is a similar question at WPF versus Windows Forms which has some good
Okay this is a real headscratcher. I have an application which calls a web
We have an internal Flex application which has been designed more through feature creep
i have an application which has 3X4 matrix of images using arrow key(up,right,top,bottom) i
I have a cocoa application which is a fullscreen webbrowser using WebView. Initially the
I have developed one desktop application in java in which i have taken user's
I have a scientific application for which I want to input initial values at
I have application which needs to use a dll (also written by me) which

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.