title: UITableView inside UITableViewCell height not working as expected
body: <p>I have a <strong>UITableView</strong> which have some cells that will be always be there, one cell with a <strong>UICollectionView</strong> in it that will act like tabs, and finally one cell with a <strong>UITableView</strong> in it, whose data will change.</p>
  
  <p>Then when the user selects one of this "tabs", I want to reload the nested table to show the correct data rows (the height of this rows will be dynamic).</p>
  
  <p>I have already achieved that the nested table changes on the collection item selection, but the problem I am facing is that the UITableView inside the cell is not sizing properly.</p>
  
  <p>I have build a sample app just to simplify the views. As you can see in the screenshot, the cell that contains the table is not filling the rest of the screen, so the 10 rows are not visible unless you scroll this table.</p>
  
  <p><a href="https://i.stack.imgur.com/XEZh3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XEZh3.png" alt="Screenshot 1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/w1WYb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w1WYb.png" alt="Screenshot 2"></a></p>
  
  <p>What I want is this table to <strong>fill</strong> the rest of the screen. The user must be able to scroll the main tableview, not the nested one, and still see all of the nested table cells.</p>
  
  <p>I can't do this with multiple sections because I will have a header section that will be always fixed on top, if I had another section, it's header will replace the sticky one on scroll.</p>
  
  <p>I have set the <code>rowHeight</code> of the main UITableView to <code>UITableViewAutomaticDimension</code> and an <code>estimatedRowHeight</code> too. I have pinned it to top, left, right and bottom of the cell's ContentView.</p>
  
  <p>Can you help me with this, please? If it helps, I could upload the sample project and link it here.</p>
  
  <p>Thank you very much!</p>