View Full Version : view switching

Feb 14, 2009, 06:50 AM
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?


Feb 16, 2009, 05:36 PM
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];


Feb 17, 2009, 01:10 AM
guys, pls say some thing.:confused::confused: