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)
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 The controller in a tab bar controller maintains a reference through this property for the [[self-navigation itam] setTitle: @ "menu"]
& gt; UINavigationControler & gt; UITabBarController & gt; Custom Configuration Controller (CVC)
tabBarController property. In
cvc , you can access navigation items like this:
self.tabBarController.navigationItem .
Comments
Post a Comment