How do you hide the status bar for iOS or Android when developing with React Native? I've imported StatusBar, but I believe there is also StatusBarIOS and a StatusBar for Android.
Reactjs – Hiding the status bar with React Native
react-nativereactjsstatusbar
Related Topic
- Javascript – Show or hide element in React
- Android – How to use DrawerLayout to display over the ActionBar/Toolbar and under the status bar
- How can I get to know which server side programming is used by the website?
- Asp – fileUpload control appearance
- C# – .NET does not search in PATH for the C# DLL
- Javascript – the difference between React Native and React
- Php – Ajax (jquery) vs php redirect ideas
Best Answer
Figured out how to hide the status bar. First of all, StatusBarIOS is deprecated so you need to import
StatusBar
and then simply include this code snippet at the top of your render:React Native Docs on
StatusBar