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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -