简体   繁体   English

Expo React iOS版本在iPad中无法正常运行

[英]Expo react ios build is not properly working in iPad

I have developed an expo react native app and it is working correctly when i tested with android and iPhone devices through the expo client app. 我已经开发了一个expo react native应用程序,当我通过expo客户端应用程序在android和iPhone设备上进行测试时,它可以正常工作。 But I am having issues when I install its ipa file in iPad. 但是在iPad上安装其ipa文件时遇到问题。 (iPa has been generated through the expo build command with adhoc profile cert). (iPa是通过带有adhoc profile cert的expo build命令生成的)。 The issue is about the app's screen are zoom in and not fit into the iPad screen. 问题在于该应用程序的屏幕放大且不适合iPad屏幕。 But this is correctly working in iPhone tested in 5s. 但这在经过5s测试的iPhone中可以正常使用。 Thanks in advance. 提前致谢。

In your app.json file 在您的app.json文件中

{
  "expo": {
    "ios": {
      "supportsTablet": true
    }
  }
}

Expo docs for app.json . 适用于app.json 博览会文档

In Xcode deployment info, you should set Devices as Universal. 在Xcode部署信息中,应将“设备”设置为“通用”。

Target -> Deployment Info -> Devices -> Universal 目标->部署信息->设备->通用

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 KeyboardAvoidingView 在 iOS 上无法正常工作,即使我尝试了包括文档在内的所有解决方案,也会做出本机反应 - KeyboardAvoidingView not working properly on iOS react native, expo even if I tried all solutions including the documentation 滚动视图在iPad上的xcode(iOS)中无法正常工作 - Scrollview not working properly on iPad in xcode(iOS) ios,ipad,MBProgressHUD在iphone上运行正常,但在ipad中无法正常运行 - ios, ipad , MBProgressHUD works fine iphone, but not working properly in ipad Expo react本机应用程序图像在testflight ios上无法正常工作 - Expo react native app image not work properly on testflight ios 本地图像(作为资产)未加载到 iOS; Expo EAS 构建(反应原生) - Local Images (as assets) not Loading in iOS; Expo EAS Build (React Native) 在裸 React Native 项目中安装 expo 后生成错误 (IOS) - Build Error (IOS) after installing expo in a bare React Native Project 在 Windows 计算机上为 React Native App 运行 expo build:ios 时出错 - Error running expo build:ios on Windows Computer for React Native App 仅当在devtools中单击时,Safari ios(iPhone和iPad)才能正常工作 - Safari ios (iphone and ipad) working properly only when clicking in devtools 在React Native中获取(或Axios)在iOS应用程序的EXPO中不起作用 - Fetch (or Axios) in react native not working for expo for iOS apps zIndex在IOS中的react-native中无法正常工作 - zIndex not working properly in react-native in IOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM