Transition from a UITableViewController to a UITabBarController

749 views Asked by At

For aesthetic reasons, I'd like the initial controller of my iPhone app to be a UITableViewController.

But, in response to a row selection, I'd like to display a UITabBarController.

Is this possible? Can one transition from a UITableViewController to a UITabBarController?

1

There are 1 answers

0
squelart On BEST ANSWER

Yes, anything is possible!

In your case, you want a root controller (a simple UIViewController will do) with the UITableViewController as initial subview. Then when you want, swap it with your UITabBarController using your choice of animation, see the sample "utility" app for an example.