title: UITableView header dynamic height in run-time
body: <p>I know there are a lot of posts about it, but maybe in newest iOS there are some updates on this...</p>
  
  <p>I think all of us had a task to create <code>viewController</code> that has a lot of content at the top, most of them are self-sizing, and at the very bottom it figures out that you need to show some <code>tableView</code> with many items... </p>
  
  <p>The <strong>first</strong> solution that can be done is to use <code>UIScrollView</code>, and don't care about reusableCells at all.<br>
  The <strong>second</strong> is to use <code>UITableView</code>'s <code>headerView</code> and adjust its height manually (or by calling <code>systemLayoutSizeFittingSize:</code>) each time when it is needed.<br>
  Maybe the <strong>third</strong> solution is to use <code>UITableView</code> and self-sized <code>UIView</code> separately, with having <code>UIEdgeInsets</code> on <code>tableView</code>. And depending on what object has higher "zIndex", it can bring problems with handling interactions...<br>
  The <strong>forth</strong> solution is to use whole content above the cell, like a separate cell. Not sure this is a good idea at all...</p>
  
  <p><strong>Question:</strong> Is there any new solution to this problem? I haven't dig into it for like 2 years... Maybe in new iOS there is something like reusableViews for <code>UIScrollView</code>... Of course, the goal is to have reusable cells, and header with using autolayout without necessity of updating its height manually...</p>