title: Stretchable dynamic custom UITableViewCells
body: <p>I have a <code>UITableView</code> with custom <code>UITableViewCells</code> (rounded corners, custom background and so on). My data is also dynamic, the problem here is that when the label gets too long the image (mainly the highlights and the rounded corners) get stretched out.</p>
  
  <p>What's a good solution to this? Right now I'm creating a cell in IB WITHOUT AutoLayout and resizing everything to fit programatically with <code>cellForRowAtIndexPath</code> and <code>heightForRowAtIndexPath</code>.</p>
  
  <p>One I can think of: </p>
  
  <p>1) Keep the background's image view the same size and overlay another image on top of it that extends to the bottom. This seems really hackish and seems like a bad idea in general.</p>
  
  <p>2) Custom draw everything in code.</p>
  
  <p>Thoughts?</p>