title: How can I make self sizing UITableViewCell with a UIStackView inside it
body: <p>I can't achieve a self sizing <code>UITableViewCell</code> with a <code>UIStackView</code> inside it.</p>
  
  <p>For the <code>UITableViewCell</code> I'm doing something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/bmLz3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bmLz3.png" alt="ui"></a></p>
  
  <p>On code I'm doing this:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      self.tableView.estimatedRowHeight = 80
  }
  </code></pre>
  
  <p>But when I run the app, the <code>UITableViewCell</code>s doesn't resizes:</p>
  
  <p><a href="https://i.stack.imgur.com/aF3bJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aF3bJ.png" alt="result"></a></p>
  
  <p>What do I miss to make the <code>UITableViewCell</code> self sizing with a <code>UIStackView</code> inside it?</p>