So I initially started with the tab-based application template for iOS 5.
I’ve got a tab bar hooked up to two views, but when I go to add a Table View Controller to the firstviewcontroller, It won’t let me.
I’m a little confused on how I should tackle this? Do I have to do it with code? Or is there a way I can graphically do this?
View embedding in Storyboards isn’t straightforward.
First, delete
First View Controller:Now, drag a new
Table View Controlleronto the storyboard:Finally, create a relationship between
Tab Bar Controllerand the newTable View Controller.Select the
Tab Bar Controllerand then while pressing theControlkey, drag your mouse over to theTable View Controllerand let go with your mouse. In the popup box, selectRelationship - View ControllersAnd now the new
Table View Controllershould be a tab within the originalTab Bar Controller.