Ankur Kathiriya
Ankur Kathiriya

Reputation: 183

Set RootViewController in UIViewController

Currently i working on iOS App and my requirement is to set TabbarController as a root view controller in all the upcoming features ViewController. so anyone can please suggest me how it possible ?

This my TabBarController enter image description here

and this was Viewcontroller for Edit Profile which is outside viewcontroller means not in mention 5 tabs viewcontroller.so i wanted to to Display in bottom of controller TabbarViewController as a root viewcontroller. enter image description here

Upvotes: 1

Views: 555

Answers (1)

JZAU
JZAU

Reputation: 3567

OK, that's simple.

First, you should embed in a UINavigationController to your Middle View Controller.

Then, you can push Edit Table View Controller when press edit button

Here is an overview :

I only add two controller into tabbarController you can add five controllers.

enter image description here

Upvotes: 3

Related Questions