The Miotz The Miotz - 1 year ago 108
iOS Question

iOS Xcode: Editing Root View Controller

How to edit Root View Controller



Hello every one, I'm going crazy trying to find out how to switch a root controller with a table view inside, for a root controller with a normal view.

enter image description here

As you can see from the image I have the navigation controller pointing to a root view controller with a table view. Well I want that my navigation controller points to a root controller designed like the view controller in the right side.

How can I do that?

Answer Source

From the top of my head: Select the segue to the unwanted VC. Delete it. Ctrl-drag to the wanted controller from the navigation controller and set it as root.