title: clipsToBounds and masksToBounds in grouped UITableViewCell
body: <p>I'm trying to get my <code>UITextView</code>'s corners to be masked by the rounded corners of the grouped <code>UITableViewCell</code> that contains it.  Here's a screenshot of the cell as it currently stands  </p>
  
  <p><img src="https://i.stack.imgur.com/CgolB.png" alt="UITextView inside grouped UITableViewCell"></p>
  
  <p>Here's some of the code I'm using to try to prevent the corners from overlapping my cells borders.  I tried both</p>
  
  <pre><code>cell.contentView.layer.masksToBounds = YES;
  cell.layer.masksToBounds = YES;  //tried this as a test, still doesn't work
  detailTextView.clipsToBounds = YES;
  [cell.contentView addSubview:detailTextView];
  </code></pre>
  
  <p>and</p>
  
  <pre><code>cell.layer.masksToBounds = YES;
  cell.contentView.layer.masksToBounds = YES;
  detailTextView.clipsToBounds = YES;
  [cell addSubview:detailTextView];
  </code></pre>
  
  <p>This is obviously not working, what am I missing?</p>