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

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

问题描述

我用 Xcode 制作了一个 iPhone 应用程序.设备设置设置为iPhone".但在 iTunes Connect 中它被拒绝,因为它不能在 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.

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

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?

图片来自分辨率中心:

推荐答案

谢谢大家,我找到了问题/解决方案:

Thanks all, I Found the problem/solution:

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

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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