Purva
Purva

Reputation: 1291

How to get different tabs in all view in view based app?

I am trying to implement the tab bar in a view based application.Now what i want is each view contains different tabs based on that view .How would i add the tab bar in all views.

Upvotes: 0

Views: 82

Answers (2)

tkanzakic
tkanzakic

Reputation: 5499

in this other question and its answers you will find examples on how to accomplish this

Upvotes: 1

Mohit_Jaiswal
Mohit_Jaiswal

Reputation: 840

Purva, you can achieve this by using the following tact:-

When-ever your tab click, the control should go to the required delegate as pointed-out by Rahul.Now, at that place you, need to get the array of your view-controllers from tabController and replace them with the new array of viewControllers which you want to become tab.

In any concern, give a shout over me.

Upvotes: 1

Related Questions