4

I just completed one app in iPhone, now I wants to create same app for both iPhone and iPad.

I am new in iPhone, So don't know exact what to do?

1) create the new project and select Universal option, and copy paste all code

2) modify this app for both.

How to add xib for iPad?

enter image description here

thanks

QueueOverFlow
  • 1,336
  • 5
  • 27
  • 48

3 Answers3

4

Maybe this blog post gives you a quick overview, when you want to convert. Otherwise you can create a new project, of course, and copy your code.

Ingo Dellwig
  • 226
  • 4
  • 22
1

You are correct,

  1. Select the Universal option.

  2. Transfer code from the existing iPhone project to the new project. NOW,

  3. Make the xib files for iPad, and make the connections (IBOutlets).

  4. Wherever you need platform specific features (eg. Popover, Split ViewController etc for iPad), put an IF statement to handle the device specific features.

Ravi Raman
  • 1,070
  • 9
  • 16
0

Select View From User Interface Option after that choose iPad from Device Family. This will create Xib for iPad.And then in Files Owner connect your class.

iSanjay
  • 173
  • 11