title: Navigation bar button not showing
body: <p>When try to add a navigation button on left and right side , its not showing?is this is the code i used for, Whats wrong with this?</p>
  
  <p>this is how i added the navigation bar in in appdelegate,</p>
  
  <pre><code>  UIViewController *viewController1 = [[logyFirstViewController alloc] initWithNibName:@"logyFirstViewController" bundle:nil];
    UIViewController *viewController2 = [[logySecondViewController alloc] initWithNibName:@"logySecondViewController" bundle:nil];
    UIViewController *viewController3 = [[record alloc] initWithNibName:@"record" bundle:nil];
    UIViewController *viewController4 = [[searchview alloc] initWithNibName:@"searchview" bundle:nil];
    UIViewController *viewController5 = [[profilde alloc] initWithNibName:@"profilde" bundle:nil];
   self.tabBarController = [[UITabBarController alloc] init];
  
  self.tabBarController.viewControllers = @[viewController1, viewController2, viewController3, viewController4, viewController5];
  navigationController = [[UINavigationController alloc] initWithRootViewController:self.tabBarController];
  
  self.navigationController.navigationBar.barStyle=UIBarStyleDefault;
  
  [navigationController.navigationBar setAlpha:0.8f];
   [self.window addSubview:[navigationController view]];
  
  
  
  
  
   button4 = [UIButton buttonWithType:UIButtonTypeCustom];
   [button4 setFrame:CGRectMake(0.0f, 0.0f, 25.0f, 25.0f)];
   [button4 addTarget:self action:@selector(back) forControlEvents:UIControlEventTouchUpInside];
   [button4 setImage:[UIImage imageNamed:@"del.png"] forState:UIControlStateNormal];
   UIBarButtonItem *random1 = [[UIBarButtonItem alloc] initWithCustomView:button4];
   self.navigationController.navigationItem.leftBarButtonItem=random1;
  </code></pre>
  
  <p>please help.</p>