The information displayed in the UITabBar is retrieved from each property of the UIViewController tabBarItem. Similarly, the UINavigationBar requests the location information of the UIViewController navigationItem.
Setting up two different headers will work like this (from within the UIViewController):
self.tabBarItem.title = @"TabTitle";
self.navigationItem.title = @"NavigationTitle";
You can also specify other data, such as the image of the tab bar or the title on the back button using these properties.
source
share