I am facing issue of displaying navigation controller and tab bar controller together either one is displayed depending on the position of adding subview in applicationlaunch method.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions {
// Override point for customization after application launch.
navigationController.navigationBar.barStyle = UIBarStyleBlackOpaque;
// Add the view controller's view to the window and display.
[self.window addSubview:navigationController.view];
[self.window addSubview:tabBarController.view];
[self.window makeKeyAndVisible];
return YES;
}