title: UILabel inside custom UITableViewCell not drawing at the correct size
body: <p>I have a custom table cell which contains a number of UILabels. At runtime, I am adjusting the height of the labels to fit their contents using <code>sizeWithFont:constrainedToSize:lineBreakMode:</code> and repositioning them accordingly. The last label in the cell contains a large amount of text, causing it to wrap, and I'm having a very odd problem. Although the <code>sizeWithFont</code> call returns the correct size, and I'm setting the UILabel's frame to that height, it draws a couple of lines short. This screenshot illustrates what I'm talking about:</p>
  
  <p><img src="https://content.screencast.com/users/MrTact/folders/Jing/media/e040f4ec-be5c-432a-888a-b438f84ce8f5/00000003.png" alt="Screenshot of UILabel problem"></p>
  
  <p>In this example, the height of the full block of text should be 90 (as checked in Interface Builder), and that's what returns from <code>sizeWithFont</code>. It's also the height that the UILabel's frame is set to, which I have verified by logging and also by stopping execution and inspecting the value. However, as you can see, it's clearly <strong>not</strong> drawing the full 90 pixels high, although it's correctly allocating the space for it (the thin black line above 'Edited' is the table cell border). I'm completely perplexed. If anyone can offer some insight as to why it's behaving this way, I would be very grateful.</p>