title: Self-sizing table view cell with title and detail fields
body: <p>I am trying to make a UITableView where the cells automatically resize to the size of the content in each cell. I have seen a bunch of other questions about this but they mainly deal with cells that have just a title label. When I only have one label, the resizing works, but when I use a cell with the "right detail" style, I have issues again.</p>
  
  <p><a href="https://i.stack.imgur.com/SQIWf.png" rel="nofollow noreferrer">This is what my view looks like.</a></p>
  
  <p>I have tried to set both the title and detail labels to have 0 number of lines so they both resize themselves, but for some reason this is not resizing the actual tableView cell. </p>