How to add UITabBar in iphone using objective c
How to add add UITabBar programmatically for iphone app. Need some suggestion and sample code. - (void) setUpTabBar { FirstViewController *firstViewController = [[FirstViewController alloc]init]; firstViewController.title = @"First View"; firstViewController.tabBarItem = [[UITabBarItem alloc]initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0]; UINavigationController *firstNavController = [[UINavigationController alloc]initWithRootViewController:firstViewController]; SecondViewController *secondViewController = [[SecondViewController alloc]init]; secondViewController.title = @"Second View"