将 iPad 应用程序转换为 iPhone-通用应用程序.
Convert iPad application to iPhone- Universal app.
我已经有一个 iPad 应用程序,现在我想为那个 iPad 应用程序制作一个通用应用程序.
I already have one iPad application, now I want to make a universal app of that iPad application.
如何转换?是否可以?还是我必须启动一个新应用?
How to convert? Is it possible? Or do I have to start a new app?
在 Interface Builder 中打开您的项目.单击Targets"旁边的显示三角形,然后右键单击目标并选择Upgrade Current Target for iPad...".
Open up your project in Interface Builder. Click on the disclosure triangle next to "Targets", then right-click on the target and choose "Upgrade Current Target for iPad...".
然后阅读 iPad 编程指南,尤其是 开始你的项目.
Then read the iPad Programming Guide, especially the section Starting Your Project.
我现在明白了——从 iPad 到 iPad/iPhone.
I see now -- iPad to iPad/iPhone.
我认为您会执行以下操作:
I think you would do something like the following:
NSMainNibFile
,其值为您的新 iPhone xib 的名称NSMainNibFile
, with the value of the
name of your new iPhone xib这篇关于将 ipad 应用程序转换为 iphone.通用应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!