I have a controller in the tabs tab and the tabbar is in the navigation controller. I want to reach the navigation when I'm in a view controller in the tabbar. Usually, when I made a navigation item number, I used to do it (if I'm in a view controller)
[[self-navigation itam] setTitle: @ "menu"]
But I'm in a view controller, tabbar in navigation controller does not work like this.
A view controller is the navigation item property, however, while viewing the controller in the tabbar there is a navigation item property, which does not work. I think that this is right logical.
Thank you for reading my question.
Considering its view controller hierarchy
& gt; UINavigationControler & gt; UITabBarController & gt; Custom Configuration Controller (CVC) The controller in a tab bar controller maintains a reference through this property for the tabBarController property. In
cvc , you can access navigation items like this: self.tabBarController.navigationItem .
Comments
Post a Comment