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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -