view switching

Discussion in 'iOS Programming' started by henktade, Feb 14, 2009.

  1. macrumors newbie

    Jan 30, 2009
    hello guys,

    I am beginner for xcode and objective C programing.

    I am trying to build Switching between two controllers like TabBarController and NavigationController. what do I do to complitely remove one view and use the whole screen for another view?

  2. thread starter macrumors newbie

    Jan 30, 2009
    cobine tabbarcontroller with navigation controller

    I was able to impliment tab bar controller. and I want to switch to navigationcontroller with a button action from one of the view of the TabBarController.

    pls comment something.
    I couldn't get that much help for the follwing link:

    the following is the only code I have in the appDelegate. each view of the tabBarController is loded form independent xib files. In which file and what code I should put to load a nivgationController.

    #import "UntitledAppDelegate.h"

    @implementation UntitledAppDelegate

    @synthesize window;
    @synthesize rootController;

    - (void)applicationDidFinishLaunching:(UIApplication *)application
    // Override point for customization after application launch
    [window addSubview:rootController.view];
    [window makeKeyAndVisible];

    - (void)dealloc
    [rootController release];
    [window release];
    [super dealloc];

  3. thread starter macrumors newbie

    Jan 30, 2009
    combining tabBarController and navigationController

    guys, pls say some thing.:confused::confused:

Share This Page