Any react native project which I am running (including Facebook's examples) look weird on an iPad. It doesn't fill up the screen and everything looks "too big". (there are 2 black bars to the left and right of the content)
Any help would be great. Thanks!
Whichever your video app supports, you can view it full screen by tapping the icon that looks like two arrows pointing in opposite directions. If you're viewing the video picture-in-picture, tap the right-corner icon showing two squares with one that has an arrow in it.
I figured it out. Go to Settings -> Display & Brightness. Then go to the bottom to the Display Zoom. Change the View to Standard.
React Native combines the best parts of native development with React, a best-in-class JavaScript library for building user interfaces. Use a little—or a lot. You can use React Native today in your existing Android and iOS projects or you can create a whole new app from scratch.
Solution: In the xcode project, go to the general tab and then to the Deployment Info. There you can change to the device type you want (universal works for both).
If you are using Expo (create-react-native-app
), modify to your app.json
to set ios.supportsTablet
to true
:
"ios": { "bundleIdentifier": "your bundle identifier", "supportsTablet": true },
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