convert iphone App to IPad

后端 未结 3 1784
被撕碎了的回忆
被撕碎了的回忆 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.

提交回复
热议问题