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 target for 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 target for The iPad turns black! do Go |
From: http://www.opensoce.com /? P = 1194 Original Author: zhutianxia