Swift height of content of table view
<p>Is there a way to find out the height of the content of a table view, beside adding up the height of all cells from all sections?</p>

<p>I have 3 sections each with different height cells and variable number of cells.
So I am hoping for a system method to get the height of the content of the table view.</p>

<p>EDIT: nowhere in the answer of the other similar question does it say where to call the tableView.contentSize</p>