cocos2d:将iPhone应用程序转换为通用应用程序
我已经开发了一个应用程序在cocos2d 99.4使用cocos2d box2d项目模板。它适用于iPhone 4,iPod .....但我需要它转换为通用...我的意思是iPad版本也
...我已经升级到iPad版本....所以它运行在iPad ...但小尺寸
像iPhone ...
I have developed an App app in cocos2d 99.4 using cocos2d box2d project template.It works well in iPhone 4,iPod.....but i need it to convert to universal...i mean iPad version also ......i already upgraded it to iPad version....so that it runs in iPad...but in small size like iPhone...
可以帮助任何人
感谢
p>要将项目转换为通用应用程序,请参阅 iPad编程指南:
To convert your project to a universal app, see "Creating a Universal Application" in the iPad Programming Guide:
配置您的Xcode项目
创建通用
应用程序的第一步是配置你的Xcode
项目。如果您正在创建一个新的
项目,您可以使用基于Window的
应用程序模板创建一个通用的
应用程序。如果您是
更新现有项目,您可以
使用Xcode的升级当前目标
iPad命令更新您的项目:
The first step to creating a universal application is to configure your Xcode project. If you are creating a new project, you can create a universal application using the Window-based application template. If you are updating an existing project, you can use Xcode’s Upgrade Current Target for iPad command to update your project:
- 打开您的Xcode项目。
- 在目标部分,选择要更新为
通用应用程序的目标。 - 选择项目>升级iPad的当前目标,然后按照提示
创建一个通用应用程序。
重要提示:您应该在您的项目中更改您的项目
修改几个构建设置为
始终使用升级iPad当前目标命令来迁移现有项目。不要尝试手动迁移文件。
Important: You should always use the Upgrade Current Target for iPad command to migrate existing projects. Do not try to migrate files manually.