2010-05-10 129 views
7

我有几个iPhone应用程序,我想将它们转换为iPad。有没有一个链接,我可以看看有关如何将iPhons应用程序转换为iPad兼容的简单程序?我已经安装了3.2 SDK等,准备好了开发环境。如果这是一个重复的问题,请原谅我。iPad:如何将iPhone应用程序转换为iPad兼容?

回答

8

你真的应该重新设计你的iPhone应用程序的iPad(不只是使它们更大),但如果你只是想看看它看起来没有做任何代码的变化。以下添加到您的Info.plist,

<key>UIDeviceFamily</key> 
<array> 
<integer>1</integer> 
<integer>2</integer> 
</array> 

更多信息:http://developer.apple.com/ipad/sdk/index.html

编辑:见下文

+0

感谢评论很多富人。 – Getsy 2010-05-10 05:25:00

+4

有人告诉我,在回答问题时失败了,您应该在Xcode中使用Project - >升级当前目标iPad。 http://developer.apple.com/iphone/library/documentation/General/Conceptual/iPadProgrammingGuide/StartingYourProject/StartingYourProject.html – Rich 2010-05-10 15:34:17

+1

这种方式现在已被弃用,甚至XCode会告诉您使用设置内建立配置“目标设备家庭“,并从info.plist中删除,你也应该将所有帧转换为适当的iPad尺寸... – PetrV 2012-02-29 18:06:44

相关问题