Reputation: 67
On my firstViewController
I have a tabbar
that contains my firstViewController
and a helpViewController
.
When I click on a button from the FirstViewController
, I push a NewViewController
. But, when this view is pushed, I want to change the content from the TabBarController
to display other ViewControllers, like infoViewController
, optionViewController
and NewViewController
. Is that possible?
The First Image represents my application. The FirstViewController
has a button that will push the NewViewController
. When the user clicks this button, I want that my app shows what is in the second image. Is possible?
Upvotes: 1
Views: 121
Reputation: 1462
You should only have 1 UITabBarController
in a project, and it should be your rootViewController. If you want different tabs then you should explore setViewControllers:animated:
.
Upvotes: 1