My app looks terrible on an ipad because it's running as an iphone-emulated app instead of an ipad app.
What do I need to do in my code to deal with the possibility that it may be running on an ipad?
How do I build the app with react-native so that it will install on an ipad and run as an ipad app?
Is this possible to do without xcode?
I'm running react-native run-ios
with an iPad Air simulator running. Perhaps I need to set up a scheme and call it with --scheme
?
You can use React Native today in your existing Android and iOS projects or you can create a whole new app from scratch.
Using React Native on macOS The React Native CLI is available as an npm package. Before installing it, make sure Xcode is installed on your system. This is where you build the native iOS code for React Native to use. As a first step, install Xcode from the App Store.
React Native supports building apps for iOS, Android, and web from a single code base. It's a more affordable technology than Swift, yet it allows creating high-quality apps.
I think you have not kept your Devices in Xcode as Universal. Go to Xcode click on the project name. In the target section go to Deployment Info. Set Devices to Universal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With