Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

henktade

macrumors newbie
Original poster
Jan 30, 2009
17
0
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?

rgds,
 

henktade

macrumors newbie
Original poster
Jan 30, 2009
17
0
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:
http://developer.apple.com/iphone/l...1.html#//apple_ref/doc/uid/TP40007457-CH8-SW1

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];
}


@end
 

henktade

macrumors newbie
Original poster
Jan 30, 2009
17
0
combining tabBarController and navigationController

guys, pls say some thing.:confused::confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.