Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Find mobile device status bar dimensions in script?

$
0
0
I'm making an app for Android and iOS and I'd like to leave the status bar (the bar at the top of your phone) visible. Is there a way to retrieve the height of the status bar in unity? I don't want the status bar to overlay on top of my app... ultimately I would like to set my effective screen height to be Screen.height - StatusBar.height in order to position my graphics in the visible area. Thanks much in advance, sorry if this has been answered in another post. All I could find was a discussion about why you might want to keep the status bar visible. I'd like to if possible.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



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