title: Titles are not showing in the navigation bar iphone app
body: <p>Titles are not showing after the home screen. I have put <code>UITabBarController</code> after the first screen. First screen hasn't got a <code>UITabBarController</code>. I am not sure the way I have implemented the tab. </p>
  
  <p>I have set titles in every view controller by <code>self.title = @"title"</code>. Titles are showing in tab items properly.</p>
  
  <p>AppDelegate.m:</p>
  
  <pre><code> UIViewController *loginView= [[[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil] autorelease];
  
  UINavigationController *loginViewNavController = [[UINavigationController alloc] initWithRootViewController:loginView ];
  
  self.navigationController = loginViewNavController;
  
  self.window.rootViewController = self.navigationController;
  [self.window makeKeyAndVisible];
  </code></pre>
  
  <p>LoginViewController.m:</p>
  
  <pre><code>-(IBAction)navigateMainMenu:(id)sender{
  
  tabBarController = [[UITabBarController alloc] init];
  
  MyAccountsViewController *vc1 = [[MyAccountsViewController alloc] initWithNibName:@"MyAccountsViewController" bundle:nil];
  DepositsViewController *vc2 = [[DepositsViewController alloc] initWithNibName:@"DepositsViewController" bundle:nil];
  MoreViewController *vc3 = [[MoreViewController alloc] initWithNibName:@"MoreViewController" bundle:nil];
  PayTransViewController *vc4 = [[PayTransViewController alloc]init];
  
  NSArray* controllers = [NSArray arrayWithObjects:vc1,vc4, vc2, vc3, nil];
  tabBarController.viewControllers = controllers;
  
  [self.navigationController pushViewController:tabBarController animated:YES];
  
  [mainMenuViewController release];
  </code></pre>