Change iOS status bar color in ionic 2 app
<p>I am following the ionic 2 documentation for setting the iOS status bar color but it is not working. The status bar text is white which means on my white background it is invisible.</p>

<p>The code I have put in my app constructor is:</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>    StatusBar.overlaysWebView(true);
    StatusBar.styleDefault();</code></pre>
</div>
</div>
</p>

<p>I have imported StatusBar using:</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>import {StatusBar} from 'ionic-native';</code></pre>
</div>
</div>
</p>

<p>I have also checked that the cordova statusbar plugin is installed.</p>