Search code examples
iosobjective-cuiviewcontrollertabbarcontroller

Cannot make tab bar controller a child view controller, what are the next best options?


I wanted a list on a table view for food, the arts, and each item on the table view cell to link to a tab bar controller which links to a list of of all food places on one tab and a map of all food places on another tab. here are the images of the tab view controller: food list map list

I essentially wanted 4 or 5 tableviewcells to link to 4 or 5 tab controllers. Any other way I can make this work?


Solution

  • I found a solution on my own. A modal segue can be used to link to a tab bar controller. If you're linking it with interface builder, just link it from the button to one of the actual tabs.