title: How to change status bar style - iOS 12
body: <p>I need to update status bar style on every view controller based on the background color (what <code>UINavigationController</code> is doing automatically).</p>
  
  <p>Have tried all the options described on stackoverflow (<code>View controller-based status bar appearance</code> in <code>info.plist</code> set to <strong>YES</strong>), but none worked for me.</p>
  
  <p>I am using Xcode 10 beta 6 and Swift 4.2, targeting iOS 12.</p>