How to set tab bar item title programmatically in objective c?
I want to set title to tab item programatically, but it not works. My code is below: - (IBAction)tab1Click:(id)sender { myTabBarController = [[UITabBarController alloc] init]; view2Controller = [[View2Controller alloc] init]; [view2Controller setTitle:@"title"]; view3Controller = [[View3Controller alloc] init]; deneme = [[ViewController alloc] init]; myTabBarController.viewControllers = [NSArray arrayWithObjects:deneme, view2Controller,view3Controller, nil]; [self.view addSubview:myTabBarController.view]; myTabBarController.selectedIndex=1; } Aitul You can set all the UITabBar icons in an easy