React-native: Binding scene to NavigationBar
问题 I'm putting together this Ask/Answer App, and came across this hurdle: I want to trigger a function in a scene from the navigationBar. Similar to a Login app I have a button in the NavigationBar to Submit an answer: RightButton(route, navigator, index, navState) { if (route.name=='TextInputView'){ return <TouchableHighlight underlayColor="transparent" style={{ marginRight:13, marginTop:0}} onPress={() => this.refs.TextInputView.submitSolution()}> <Text style={ styles.leftNavButtonText }>Done<