user1285402
user1285402

Reputation: 163

How to use different TabBar's when i click a tabbar item?

I have a UITabBarController in my mainWindow.xib,when i click on a tabbar item in UITabBarController i want a new view to appear with different UITabBarController....So pls help me to do this by suggesting me tutorials and examples ...

Thank you.

Upvotes: 2

Views: 207

Answers (2)

Charan
Charan

Reputation: 4946

Just add new tabBar in the new view which is opening with your tabbar item and hide the present tabbar

[[UITabBar appearance] setHidden:YES];

Then go on

Upvotes: 2

Jonas Schnelli
Jonas Schnelli

Reputation: 10005

What you'r like to do is against the HIG and will confuse users using your app. What about placing your sub-tabbar-navigation within a UITableView and then use a UINavigationController to navigate? That would be the apple-like-way.

Upvotes: 4

Related Questions