-1

I've Created an iPhone App.I Want To Make it Universal on Next Version But When I Choose Universal From Deployment Info Menu it Does not Creat Main-iPad Storybiard.Anyway I Created it Myself and When I Tried too Test it on iPAd it shows iPhone storboard!

rmaddy
  • 314,917
  • 42
  • 532
  • 579
user3025548
  • 31
  • 1
  • 4

4 Answers4

0

You have to create an ipad storyboard, click on the ipad button under the universal setting, and then set the ipad storyboard there: Here is what you're needing to do.

Edit: Since you are still experiencing the iphone look on the ipad, go to your .plist file, and check for:

enter image description here

hope it helps

user2277872
  • 2,963
  • 1
  • 21
  • 22
0

The storyboards are created and configured automatically when you create the project in universal mode. If you started for iPhone only, and switch to universal later, you'll need to set the different storyboards in the project settings.

To do so, go to project settings and choose your target. Note that in 'Deployment info' under your choice for 'Universal' there are two buttons 'iPhone' and 'iPad'. You can select 'iPad' there and select your iPad storyboard.

enter image description here

Leijonien
  • 1,415
  • 14
  • 16
0

You need to create iPad Storyboard, not iPhone. And You need to select that storyboard at general tab(At targets).

PatrikWWDC
  • 83
  • 10
0

Maybe change in the app delegate this:

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];

To something like this.

UIStoryboard *storyboard;
if ([[UIDevice currentDevice] userInterfaceIdiom] ==UIUserInterfaceIdiomPad) {
   storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPad" bundle:nil];
} else {
   storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:nil];
}
Laszlo
  • 2,803
  • 2
  • 28
  • 33