Tuesday, 22 March 2011

Converting iPhone xib to iPad xib?

When I first tried to upgrade from an existing Iphone App to an Ipad App I used: "Universal App"! The Main thing here is, that you have to create all your xib files manually.

I did then tried it with the other option "Using a Single Xcode Project to Build Two Applications" - where all the necessary XIB Files are translated to Ipad...


Using a Single Xcode Project to Build Two Applications

Maintaining a single Xcode project for both iPhone and iPad development simplifies the development process tremendously by allowing you to share code between two separate applications. The Project menu in Xcode includes a new Upgrade Current Target for iPad command that makes it easy to add a target for iPad devices to your existing iPhone project. To use this command, do the following:

Open the Xcode project for your existing iPhone application.
Select the target for your iPhone application.
Select Project > Upgrade Current Target for iPad and follow the prompts to create two device-specific applications.

No comments:

Post a Comment