diff --git a/Examples/UIExplorer/SegmentedControlIOSExample.js b/Examples/UIExplorer/SegmentedControlIOSExample.js index 119196d8f..a0794d1b7 100644 --- a/Examples/UIExplorer/SegmentedControlIOSExample.js +++ b/Examples/UIExplorer/SegmentedControlIOSExample.js @@ -118,7 +118,7 @@ var EventSegmentedControlExample = React.createClass({ _onChange(event) { this.setState({ - selectedIndex: event.nativeEvent.selectedIndex, + selectedIndex: event.nativeEvent.selectedSegmentIndex, }); },