diff --git a/Examples/UIExplorer/NavigatorIOSColorsExample.js b/Examples/UIExplorer/NavigatorIOSColorsExample.js index 4078cac6d..1735633c9 100644 --- a/Examples/UIExplorer/NavigatorIOSColorsExample.js +++ b/Examples/UIExplorer/NavigatorIOSColorsExample.js @@ -16,7 +16,7 @@ var React = require('react-native'); var { NavigatorIOS, - StatusBarIOS, + StatusBar, StyleSheet, Text, View @@ -45,7 +45,7 @@ var NavigatorIOSColors = React.createClass({ render: function() { // Set StatusBar with light contents to get better contrast - StatusBarIOS.setStyle('light-content'); + StatusBar.setBarStyle('light-content'); return ( ', rightButtonTitle: 'Done', onRightButtonPress: () => { - StatusBarIOS.setStyle('default'); + StatusBar.setBarStyle('default'); this.props.onExampleExit(); }, passProps: {