Safari View Controller uses wrong status bar color : <p>My app uses a dark navigation bar color. Therefore I set the status bar color to white (so it has a nice contrast).</p>

<p><a href="https://i.stack.imgur.com/nDItJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nDItJ.png" alt="red navigation bar with white status bar"></a></p>

<p>I did this by setting the <strong>barStyle</strong> to black (to make the status bar white) and also setting the <strong>barTint</strong> to my dark red color. Works perfectly.</p>

<p>I present a <code>SafariViewController</code> like this:</p>

<pre><code>func openWebsite(urlString: String) {
    if let url = NSURL(string: urlString) {
        let svc = SFSafariViewController(URL: url)
        svc.delegate = self
        self.presentViewController(svc, animated: true, completion: nil)
    }
}
</code></pre>

<p>However the status bar of the presented <code>SafariViewController</code> still is white. This is a problem because the <code>SVC</code> navigation bar has the default white transparent iOS default style. So the status bar is basically invisible.</p>

<p><a href="https://i.stack.imgur.com/o9HoA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/o9HoA.png" alt="safari view controller with white status bar color"></a></p>

<p>How can I fix that?</p>
