How to upgrade iPhone to IPAD upgrade current target for iPad in gray

Source: Internet
Author: User
Document directory
  • The following describes how to upgrade or migrate an iPhone to an iPad-supported instance:
  • Note:
  • Upgrade current target for iPad gray Solution

 

Upgrade current target for iPad gray Solution

 

 

In the current wave of iPad, We will port the appropriate iPhone source code that has been developed or downloaded to the iPad, saving the time for re-development. However, sometimes when the project is transplanted, when the upgrade current target for iPad is gray and cannot be upgraded, let's take a complete look at the Transplantation method and the gray solution:

 

 

The following describes how to upgrade or migrate an iPhone to an iPad-supported instance:

 

1 1) select project --> the upgrade current targetfor iPad
2 2) there will be two options here: upgrade to universal or copy a copy of the window to build the iPad version from the iPhone project. Select as needed.
Note:

 

1 1) When you upgrade to the support iPad, a new XIB file will be automatically created and the page size will be adjusted to the appropriate size for the iPad.
2 2) The base SDK build setting must be set to iPhone SDK 3.2 for developing the universal version.
3 3) The build setting of the iPhone OS Deployment target of the program target must be set to 3.13 or earlier (this will cause program compatibility problems, such as the failure to use APIs in the 3.2sdk, you cannot use the deprecated API in SDK 3.2)
4 4) The iPhone simulator of the universal program always uses the iPad simulator to run the program. Therefore, to debug the program on the iPhone, you must debug the program on the real machine.
Upgrade current target for iPad gray Solution

 

1 1. Edit the Project Settings and set the base SDK to iOS device 3.2 or later.
2 2. Set targeted device fimaly to iPhone. It cannot be set to iPad or iPhone/iPad.
3 3. Expand targets on the left of the project, select your project, and then open the menu project, upgrade current targetfor The iPad turns black!doGo
From: http://www.opensoce.com /? P = 1194 Original Author: zhutianxia

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.