I need to display a button that is only shown on iOS, not on android. I have tried using the following style, but it doesn't seem to be working.
...Platform.select({
android: {
display:'none',
},
The code for my button is:
<Button
icon
light
transparent
dark
style={styles.btnIcon}
disabled={!this.state.canGoBack}
onPress={this.onBack.bind(this)}
>
<Icon name="arrow-back" />
</Button>