title: React-Native iOS Status Bar
body: <p>I am using react-native to build a simple app. I am running into an error when trying to change the background color and content color in the Status bar. I currently am testing on my iPhone 8. Does any know how to make these changes to status bar? I checked out this [doc][1], but its not recognizing 'route'. please help. thanks :) `</p>
  
  <pre><code>render() {
  
      return (
  
          &lt;View&gt;
              &lt;StatusBar
              backgroundColor="red"
              barStyle="light-content"
               /&gt;
              &lt;Button
                      title="go to Home"
                      color ="#841584"
              onPress={() =&gt; this.props.navigation.push('Home')} /&gt;
  
          &lt;/View&gt;      
      );
  }
  </code></pre>
  
  <p>}`</p>