title: Gradient background in tabBar
body: <p>I've subclassed the <code>TabBarController</code> and is then trying to make gradient background. however it does not seem to work. nothing is shown. i'm by the way using the <a href="https://github.com/hyperoslo/Hue" rel="nofollow">Hue</a> framework</p>
  
  <pre><code>    let tabBarGradient = [UIColor.redColor(), UIColor.blackColor()].gradient { gradient in
          gradient.frame = self.tabBar.frame
          gradient.startPoint = CGPointMake(0,0.5)
          gradient.endPoint = CGPointMake(1,0.5)
  
          return gradient
      }
  
      self.tabBar.layer.addSublayer(tabBarGradient)
  </code></pre>