Reputation: 8168
i have a problem is i got UItabbarController it contain 3 Tabbars each tabbar need to create own UINavigationController for them?
in IB it can only link UINavigationController to 1 navigationcontroller of tabbar only. it can't multiple link.
how can i resolve for it. i want to hide and unhide my toolbar. i think it it a bad idea if i must create 3 uinavigationcontroller instance variable for each tabbar.
how can i reslove this issue?
Upvotes: 0
Views: 196
Reputation: 1079
Answer here: just wrote tabbar hide in google, first result
edit: misread the english, sorry
Upvotes: 1
Reputation: 85522
There's nothing wrong with creating a UINavigationController for each tab in your tab bar. The answer that Marek linked to covers how to use the hidesButtonWhenPushed property. My personal preference is to create things like UINavigationControllers in code, and have them reference nib files for the actual viewControllers, but that's up to you.
Upvotes: 0