Set translucent statusBar in iOS with react-native -


i'm trying nothave translucent (default) statusbar on ios react-native seems option available on android?

class thapp extends component {   render() {     return (       <view style={styles.container}>         <statusbar translucent={false} backgroundcolor="rgba(0, 0, 0, 1)" barstyle="default"/>         <tabs></tabs>       </view>     );   } } 

probably solved problem in other way have same problem. , far deal problem i'm implementing platform independent margintop or paddingtop.

import {platform} 'react-native'; // status bar height on ios 20 dpi const margintop = platform.os === 'ios' ? 20 : 0; 

Comments

Popular posts from this blog

c++ - What's the differece between of link to a dynamic file and as a input object? -

javascript - Feed FileReader from server side files -

Android Unit Testing / Mockito: android.location.Location not mocked -