title: PresentViewController with Tabbar and Navigationbar iOS
body: <p>I am presenting a view controller class using custom navigation bar as follow: </p>
  
  <pre><code>CreateShiftRosterEventViewController *objDetailView = [[CreateShiftRosterEventViewController alloc] initWithNibName:@"CreateShiftRosterEventViewController" bundle:nil];
  
  CustomNavigationViewController *navcont = [[CustomNavigationViewController alloc] initWithRootViewController:objDetailView];
  
  // Set the user default to 1 to support landscape orientation also for next view
  [[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"orientationView"];
  
  [self presentViewController:navcont animated:YES completion:nil];
  
  [objDetailView release];objDetailView = nil;
  [navcont release];navcont=nil;
  </code></pre>
  
  <p>but it hides tab bar at CreateShiftRosterEventViewController class. </p>
  
  <p>Can anyone please help me, what is wrong?</p>