title: Multiline UILabel doesn't display properly on automatic UITableViewCell
body: <p>edit: I think this may have something to do with iOS 8.3. This doesn't occur on the simulator and none of my testers have the problem but my dev phone with 8.3 on it does. Any ideas on how to fix it?</p>
  
  <p>edit2: I found an answer here <a href="https://stackoverflow.com/a/36711109/1552116">https://stackoverflow.com/a/36711109/1552116</a>. I've answered this SO below and will accept in 2 days but I guess this is technically a duplicate?</p>
  
  <p>I have a <code>UITableView</code> with rowHeight set to <code>UITableViewAutomaticDimension</code></p>
  
  <p>Each cell contains multiple labels, one of which can be multi line. Sometimes, the cell displays correctly with the label taking up multiple lines. Other times, the cell is <em>sized</em> correctly but the label only takes up one line, leaving a big empty space where the other lines should have gone.</p>
  
  <p>The tableview is backed by a <code>NSFetchedResultsController</code>. </p>
  
  <p>Picture to show what I mean (to be clear "Expected" is not a rendering, it's an actual screenshot of the app working some of the time)
  <a href="https://i.stack.imgur.com/gJgev.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gJgev.png" alt="enter image description here"></a></p>
  
  <h1>Things I've tried + Thoughts</h1>
  
  <p>There's a refresh action on the page and I've tried <code>tableView.reloadData()</code>, <code>tableView.setNeedsLayout()</code> and both don't seem to help</p>
  
  <p>I've noticed if I'm on the tableView when the notification is created, it displays correctly. If I force quit the app (or run the app again from XCode) and the cells are initialized from the fetch result, then they get displayed erroneously.</p>
  
  <p>This app is also on <code>testflight</code> and of the ~5 testers we have none of them have reported the issue.</p>
  
  <h2>Edits Answering comments</h2>
  
  <p>Code that sets the label
  cellForRowAtIndexpath</p>
  
  <pre><code>let cell = tableView.dequeueReusableCellWithIdentifier(StoredNotificationViewController.snTableViewCellReuseIdentifier, forIndexPath: indexPath) as! StoredNotificationTableViewCell
  configureCell(cell, atIndexPath: indexPath)
  </code></pre>
  
  <p>configureCell</p>
  
  <pre><code>    let storedNotification = snFetchedResultsController.objectAtIndexPath(indexPath) as? StoredNotification
      cell.setData(storedNotification)
  </code></pre>
  
  <p>cell.setData</p>
  
  <pre><code>    messageLabel.text = notification.message
  </code></pre>