0

I am making an app using iOS 6 and storyboard and am stuck at the following point: I am loading a view which has a container view inside it. This view gets loaded(along with the container view) when a row of table view is selected. Now, I want the container view to decide depending on which row was selected it should load either a UITableViewController or a UIViewController or someOtherCustomViewController. Like say when row 0 is selected the container view should display a table View and when row 1 is selected say it should display a tab bar controller and so on. Since container view allows only one segue to be associated with it, this is proving to be a trouble.

NOTE:

The original view which contains the container view cannot be deleted as container view occupies only a part of space in the whole view.

Community
  • 1
  • 1
Roadblock
  • 2,041
  • 2
  • 24
  • 38

0 Answers0