简体   繁体   中英

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. But I am having issues when I install its ipa file in iPad. (iPa has been generated through the expo build command with adhoc profile cert). The issue is about the app's screen are zoom in and not fit into the iPad screen. But this is correctly working in iPhone tested in 5s. Thanks in advance.

In your app.json file

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

Expo docs for app.json .

In Xcode deployment info, you should set Devices as Universal.

Target -> Deployment Info -> Devices -> Universal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM