title: UILabel text color transparency with layer shadows in place?
body: <p>I have a <code>UILabel</code> to which I am attempting to apply a semi-transparent gradient as a color onto.  For example, in my <code>UILabel</code> subclass I'm trying to set the gradient color this way:</p>
  
  <pre><code>self.textColor = [UIColor colorWithPatternImage:someTransparentGradient];
  </code></pre>
  
  <p>While messing around with this, however, I discovered that a <code>UILabel</code> doesn't seem to be able to draw with transparency <strong>when layer shadows are in place</strong>.  I attempted to set the text color to clear:</p>
  
  <pre><code>self.textColor = [UIColor clearColor];
  </code></pre>
  
  <p>but the text ended up being white.  Ideas?</p>
  
  <p><em>You can replicate the problem yourself if you set the text color to clear, then apply layer shadows onto the text view.</em></p>