title: Cannot set iOS Status Bar Colour for View
body: <p>I am developing an app for <strong>iOS8</strong>, using <strong>Swift 1.2</strong>.</p>
  
  <p>However, I am having an issue with the colour of the status bar (the one with the time, battery indicator etc).</p>
  
  <p>In my <code>Info.plist</code> file, I have <code>UIViewControllerBasedStatusBarAppearance</code> set to <code>YES</code> as well as <code>Status bar style</code> set to <code>UIStatusBarStyleLightContent</code> and then in all my view controllers in the Storyboard, I have the status bar set to "Light Content".</p>
  
  <p><img src="https://i.stack.imgur.com/mKc2J.png" alt="enter image description here"></p>
  
  <p>This works for all of my <code>NavigationViewControllers</code> and views embedded within <code>NavigationViewControllers</code>, however I have one normal <code>TableViewController</code> which is not embedded in a <code>NavigationController</code>, and when I push this view modally, the status bar changes to BLACK!???</p>
  
  <p>Even when I look at the view in the Storyboard editor it shows as a white status bar (note the faint white battery indicator at the right of the below screenshot):</p>
  
  <p><img src="https://i.stack.imgur.com/LONtq.png" alt="enter image description here"></p>
  
  <p>But when I build and run on my iPhone, the status bar shows as black...</p>
  
  <p>Why is this? How can I fix this? I don't know what could be incorrect.</p>