//////////////////// UITabBarController *tabBarController = [[UITabBarController alloc] init]; UIViewController *controller1 = [[YourViewController alloc] init]; controller1.title = @"one View"; controller1.tabBarItem.image = [UIImage imageNamed:@"tab3.png"]; ViewControllerMain *controller2 = [[ViewControllerMain alloc] init]; controller2.title = @"Third View"; controller2.tabBarItem.image = [UIImage imageNamed:@"tab3.png"]; tabBarController.viewControllers = [NSArray arrayWithObjects: controller1, controller2, nil]; tabBarController.delegate=self; // set as the root window self.window.rootViewController = tabBarController; Post navigation Switching to a TabBar tab view programmatically?