How do I get a React Native app to run properly on an iPad?(如何让 React Native 应用程序在 iPad 上正常运行?)
问题描述
我的 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 上正常运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何让 React Native 应用程序在 iPad 上正常运行?


- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01