[英]How can I revert my Universal app back to iPhone only?
In a silly mistake, I ran the "Upgrade current Target for iPad" assistant in Xcode. 在一个愚蠢的错误中,我在Xcode中运行了“升级当前iPad目标”助手。 I'd like to target the iPad some time with my app, but right now, I don't have the time and just want to ship it. 我想用我的应用程序将iPad定位一段时间,但是现在,我没有时间只想发货。 Is there an easy way to remove the iPad specific changes from my app? 有没有一种简单的方法可以从我的应用程序中删除iPad特定的更改?
Specifically, what I'm after is, I want to be able to run the app in the little "iPhone" window on the iPad (the one that lets you blow up the size of the app by pixel doubling). 具体来说,我想要的是,我希望能够在iPad上的小“iPhone”窗口中运行应用程序(可以让你通过像素加倍来炸毁应用程序的大小)。 Right now, my view just hangs in there somewhere and looks weird. 现在,我的视图只是挂在某处,看起来很奇怪。
Any help? 有帮助吗?
I found help in this question: Submit an universal app as iPad only app to Apple 我在这个问题上找到了帮助:将一个通用应用程序作为iPad专用应用程序提交给Apple
The solution is 解决方案是
我不知道如何随意做,但你可以创建另一个项目(然后制作副本)然后运行相同的“升级当前目标iPad”并寻找差异。
Does Upgrade for iPad create a new snapshot. Upgrade for iPad是否会创建新快照。 I thought mine created one before I did it automatically, but I'm not positive. 在我自动完成之前,我以为我创造了一个,但我并不积极。 If so, just revert back to the snapshot 如果是这样,只需恢复快照即可
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.