views:

18

answers:

0

I want to create log in app. In log in process I create a UINavigationController to do navigation. After log in, I want to jump to a UITabBarController window.

Therefore I added a UINavigationController *navigationController; and set it as a primary view.

And UINavigationController *navigationController; to handle stuffs after log in.

and I use UITabBarController *aTabView = [[UITabBarController alloc] initWithNibName:@"TabWindow" bundle:nil]; [self setTabController:aTabView]; [navigationController.view removeFromSuperview]; [self.window addSubview:[tabController view]];

to change to the content view.

However, it does not show the content of TabWindow.xib