title: Update constraint inside layoutSubviews() of UITableViewCell
body: <p>I need to update a constraint's value inside a <code>UITableViewCell</code>, which should trigger resizing of the cell. I need to know the correct frame before I can update the constraint's value, however having my code inside <code>layoutSubviews()</code> does not resize the cell. The subview which has the constraint attached to it grows, but cell stays the same initial height, cutting off the view.</p>
  
  <p>My setup for the purpose of demonstration is very simple, I have a single <code>UIView</code> pinned to the edges of the cell's <code>contentView</code>, and a height constraint added to it. I expect the cell to resize when the height constraint of the view is changed.</p>
  
  <pre><code>override func layoutSubviews() {
      super.layoutSubviews()
  
      heightConstraint.constant = 500
  }
  </code></pre>
  
  <p>Any ideas on why this is not working?</p>