Search code examples
iphoneuiviewcontrollerios5uitabbarcontroller

Storyboard - ViewController to tab bar controller


I have view controller which is the main interface contains options etc...

i want to transition from 1st view controller > tab controller

now once at tab controller i want to add more tabs as by default xcode only creates two.

q) how you add more tabs in storyboarding

I embeded the 1st view controller in tab controller but it crashed xcode

q) how to avoid crashing and making the flow seems better

any suggestions, ideas will be welcomed: coming from android activities and intents i'm not sure what is best solution here so welcome all input.

UPDATE: i guess what i was trying to ask and didnt made it clear is

i have view controller i want this to load first and upon clicking one of the three buttons go to tab controller which is where xcode crashes when i do Editor > embed within nav controller.


Solution

  • I guess you could do worse than follow along a Storyboard tutorial. I found Ray Wenderlich's rather good. In fact I even purchased his book to get the whole thing.

    See http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1