Here is the line of code which is written in viewDidLoad and viewWillAppear but still uitabbar item title is not being changed.
[[self.userTabBarController.viewControllers objectAtIndex:1] setTitle:@”Your title”];
Where userTabBarController is
IBOutlet UITabBarController *userTabBarController;
My tabbar has 3 tabs and these are conecting with 3 different viewController and it is loading fine.
Why title is not being set, code is seems to look ok.
Try this:
Since that did not work for you I would suggest going to the implementation file of the view controller in your tabbarcontroller and simply doing:
in the viewDidLoad method.