title: Shadow not showing when background color is clear color
body: <p>I've created an uiview in my xib with background color as clear color. When I apply the shadow on the layer of the view, the shadow is not appearing. But when i set the background color other than clear color, shadow is showing. Please help.</p>
  
  <p>this is my code</p>
  
  <pre><code>self.cView.layer.shadowColor=[UIColor whiteColor].CGColor;
  self.cView.layer.shadowOffset=CGSizeZero;
  self.cView.layer.shadowRadius=30.0;
  self.cView.layer.shadowOpacity=1.0;
  self.cView.layer.cornerRadius=10.0;
  </code></pre>