Question

I have an existing iPhone application that consists of a Login VC, Account Table VC, and an Account Detail VC. Note this storyboard:enter image description here

I need to enhance the Account Detail VC to show a tab bar that would allow the surfacing of other information related to the selected account like recent orders, map, etc. What I've done so far is to embed the Account Detail VC in a Tab Bar Controller like this:

enter image description here

It's not clear to me how to wire up the new Tab Bar Controller into the existing Storyboard. Most examples I see on the use of the Tab Bar Controller have it as the root VC; this is clearly not the case here as I want tabs present only on the Account Detail view (and the other tab sibling views as well - not shown here).

Thanks much everyone for your assistance.

Was it helpful?

Solution

You only need to add a push segue from your table view controller (or from a cell) to the tab bar controller. The AccountDetailView should be connected to the tab bar controller with a "relationship segue" ---> viewControllers.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top