0

I have built my iPhone app targetting OS 3.0 Now I would like to also build an iPad version of my app which should have a minimum OS deploy of 3.2 if remember correctly?

I have made a duplicate of my app target and changed the 'device' setting in the 'Summary' tab to 'iPad'. When I run this target in the ipad simulator I get a 'minified' iphone version running inside the ipad simulator (with the magnifier 2x button on the bottom right). I figured this was because the .xib files that i'm using are too small for the ipad?

How do I create iPad compatible .xib files, and how do I link them to my iPad target build?

Jovan
  • 2,640
  • 2
  • 24
  • 34

1 Answers1

0

For universal Application u have to set target for both iPhone/iPad. You have to design two different xib for both iphone & ipad.

For identified device place following condition in "App-delegate":
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) //ipad { isIphone=FALSE; } else //iphone { isIphone=TRUE; }

Dhaval
  • 168
  • 2
  • 12