0

I have two storyboards Main and Main_iPad. My problem is that, in both of iphone and ipad devices, only Main storyboard gets selected and executed. What I did is:

iPad storyboard selection iPad storyboard selection iphone storyboard selection iphone storyboard selection I dont know its usage I dont know its usage

So, whenever I change Universal from Main to Main_iPAd my it is working on iPad but crashes on iphone. But when I change it to Main, then it works both on iPad and iphone but, does not recognize the model inside Main_iPad. What can be problem?

2
  • 1
    Check out this SO question and see if any of their solutions work for you. Commented Jul 28, 2015 at 14:15
  • 1
    Main is choosen anyway. Don't select anything for Universal. Commented Jul 28, 2015 at 14:48

1 Answer 1

2

I've had this same problem. My conclusion is that you can't configure this correctly by editing the target (as you are doing). You have to go directly into the Info.plist file and set it up there, by editing the "Main storyboard file base name" and "Main storyboard file base name (iPad)" entries.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.