应用程序在iPad上运行,而iPhone仅限iPhone [英] App running on iPad while its iPhone-Only

查看:426
本文介绍了应用程序在iPad上运行,而iPhone仅限iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Xcode制作了一个iPhone应用程序。设备设置设置为iPhone。但是在iTunes Connect中它被拒绝了,因为它不能在iPad上运行。



这很奇怪,因为它是一个iPhone应用程序,但当我在Xcode中检查时,我可以使用iPad模拟器运行它,但我认为通常情况下这不适用于iPhone应用程序。



我添加了图片以使我的问题更清晰:



< img src =https://i.stack.imgur.com/mHPvN.pngalt =它仍然可以在iPad模拟器上运行..>



<那么出了什么问题我该怎么办呢?



编辑:
分辨率中心的图片:

解决方案

谢谢所有,我发现问题/解决方案:



在我的info.plist中有一个额外的行称为支持的界面方向(iPad),其中纵向模式是添加。



我不知道这是如何添加的,但当我删除它时,问题就解决了。


I made an iPhone App with Xcode. The devices setting is set to "iPhone". But in iTunes Connect it is rejected because it doesn't run on the iPad.

That is weird because it is an iPhone app, but when I checked it in Xcode, I can run it with the iPad simulator,however I think that normally this is not possible with an iPhone app.

I have added pictures to make my question clearer:

So what is gone wrong and how can I fix it?

EDIT: Picture from resolution center:

解决方案

Thanks all, I Found the problem/solution:

In my info.plist there was an extra row called supported interface orientations(iPad) where the portrait mode was added.

I have no idea how this got added here but when I removed it, the problem was solved.

这篇关于应用程序在iPad上运行,而iPhone仅限iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆