title: Changing the Status Bar Color for specific ViewControllers using Swift in iOS8
body: <pre><code>override func preferredStatusBarStyle() -&gt; UIStatusBarStyle {
   return UIStatusBarStyle.LightContent;
  }
  </code></pre>
  
  <p>Using the above code in any ViewController to set the statusBar color to White for a specific viewcontroller <strong><em>doesnt work in iOS8 for me</em></strong>. Any suggestions?  Using the UIApplication.sharedApplication method, the color changes after required changes in the Info.plist for the whole app.</p>
  
  <pre><code>// Change the colour of status bar from black to white
  UIApplication.sharedApplication().statusBarStyle = .LightContent
  </code></pre>
  
  <p>How can I just make changes to the status bar color for some required and <strong><em>specific ViewControllers</em></strong>?</p>