Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Access to screen height depending on the device

$
0
0

Below are various situations with the screen on the phone:

  • with Android navigation bar (bottom black bar)

  • without Android navigation bar (bottom black bar)

  • with notches (small and large)

  • without notches (small and large)

enter image description here

How can I access the height in red?

I am currently trying to use:

react-native-responsive-screen

But it doesn't always work well. When I test on the screen with notches it is OK but when I test on another device, the height does not match

When I do something on the device without Android navigation bar, when I run the application on the phone with this bar it covers part


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>