Gypsa
Gypsa

Reputation: 11314

Hiding Tab Bar and adding toolbar at that location

I am developing a tab Bar based Application.On a particular view controller I have to hide the tab Bar and add toolBar there.What I did is self.tabBarController.tabBar.hidden = YES; to hide the tab Bar.The tab bar is hidden properly but the tool Bar is not showing at that location.the space of tabBar is showing blank and toolBar is coming up.Please tell me how to sort out this problem. Thanks in advance.

Upvotes: 2

Views: 667

Answers (1)

Aman Aggarwal
Aman Aggarwal

Reputation: 3754

When you are pushing your viewcontroller(having no tabbar) add the line:

yourviewcontroller.hidesBottomBarWhenPushed=YES;

Hope it helps....

Upvotes: 2

Related Questions