title: UITextView Shadow Not Working
body: <p>I am trying to get a UITextView's layer's shadow to work in a UITableView header.  I have a UIView that I am formatting everything in, and then setting the headerview equal to it.</p>
  
  <pre><code>UIView * view = [[UIView alloc] initWithFrame: CGRectMake(0, 0, self.tableView.frame.size.width, 450);
  UIColor * baseColor = [[UIColor alloc] initWithRed: 45/255.0
                                               green: 100/255.0
                                                blue: 150/255.0
                                               alpha: 1.0];
  
  view.backgroundColor = baseColor;
  ...
  UITextView * newCommentField = [[UITextView alloc] initWithFrame:CGRectMake(20, 230, 270,   120)];
  newCommentField.text = @"New Comment";
  newCommentField.tag = 3;
  newCommentField.layer.shadowOffset = CGSizeMake(0, 3);
  newCommentField.layer.shadowRadius = 5.0;
  newCommentField.layer.shadowColor = [UIColor blackColor].CGColor;
  newCommentField.layer.shadowOpacity = 0.8;
  [view addSubview:newCommentField];
  ...
  self.tableView.tableHeaderView = view;
  </code></pre>
  
  <p>Everything shows up properly in the view.  However, the shadow is not appearing.  I don't know what is going wrong here.  I have even tried modifying the layer's frame and making it the size of the comment field, bigger and the same size.</p>