convert iphone App to IPad

后端 未结 3 1783
被撕碎了的回忆
被撕碎了的回忆 2021-01-06 10:48

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

相关标签:
3条回答
  • 2021-01-06 11:16

    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.

    0 讨论(0)
  • 2021-01-06 11:26

    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.

    0 讨论(0)
  • 2021-01-06 11:41

    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.

    0 讨论(0)
提交回复
热议问题