问题描述
我的 React Native 应用刚刚被 Apple 拒绝,因为
My React Native app was just rejected by Apple because
我们注意到,在运行 iOS 10.3.3 的 iPad 上查看时,您的应用程序没有以 iPhone 分辨率运行.要解决此问题,请修改您的应用程序以确保它在 iPad 上以 iPhone 分辨率正常运行和显示.即使您的应用程序是专门为 iPhone 开发的,用户仍然应该能够在 iPad 上使用您的应用程序.
We noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 10.3.3. To resolve this issue, please revise your app to ensure it runs and displays properly at iPhone resolution on iPad. Even if your app was developed specifically for iPhone, users should still be able to use your app on iPad.
他们提供了以下截图:
确实,这一切看起来都被压扁了,但我不确定我做错了什么.此应用是使用 Expo SDK 构建的.
Indeed, it does all look pretty squished, but I'm not sure what I'm doing wrong. This app was built using the Expo SDK.
推荐答案
检查你的 app.json
中是否有以下内容.尝试将 supportsTablet
设置为 true.
Check if you have the following in your app.json
. Try and set the supportsTablet
to true.
"ios": {
"bundleIdentifier": "your bundle identifier",
"supportsTablet": true
},
这篇关于如何让 React Native 应用程序在 iPad 上正常运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!