I'm trying to color my statusbar, but on the iOS version it won't change it's color. This is the code I have:
render(){
return(
<View>
<StatusBar backgroundColor="#553A91" barStyle="dark-content" />
<List containerStyle={{borderTopWidth: 0, borderBottomWidth: 0}}>
<FlatList
data={this.state.data}
renderItem={({item})=>(
<ListItem
roundAvatar
title={`${item.name.first} ${item.name.last}`}
subtitle={item.location.city}
avatar={{uri: item.picture.thumbnail}}
containerStyle={{borderBottomWidth: 0}}
/>
)}
keyExtractor={item=>item.email}
ItemSeparatorComponent={this.renderSeparator}
ListHeaderComponent={this.renderHeader}
/>
</List>
</View>
);
};
How can I change the background color of my statusbar?