title: How to change status bar color in iOS7
body: <p>I created a custom navigation bar and I need to change the status bar's color to be the same as the navigation bar's background color:</p>
  
  <pre><code>- (void)drawRect:(CGRect)rect {
      CGFloat logoWidth = CGRectGetWidth([self frame]) / 4;
      CGFloat logoHeight =CGRectGetHeight([self frame]) / 2;
      [kAPPLogo drawInRect:CGRectMake((CGRectGetWidth([self frame]) - logoWidth) / 2, (CGRectGetHeight([self frame]) - logoHeight) / 2, logoWidth, logoHeight)];
  
      self.barTintColor = kNavicationBarColor;
      self.backgroundColor = kNavicationBarColor;
  }
  </code></pre>
  
  <p>I tried this: </p>
  
  <pre><code>self.barTintColor = kNavicationBarColor
  </code></pre>
  
  <p>but it did not work. Can anybody help?</p>