title: How to remove animation when show/hide a UIStackView?
body: <p>Whenever the <code>UIStackView</code> is shown or hidden, the hiding and revealing parts are animated. Is it possible to remove animation on it altogether. Like it just appears and disappears. Thank you.   </p>
  
  <p>the current hierarchy looks like this ==> <code>UITableView</code> > table header <code>UIView</code> > <code>UIStackView</code> > <code>UIView</code> with header label <code>UILabel</code>. I'm trying to hide and show the table header.  </p>
  
  <p>code that I have tried so far... </p>
  
  <ul>
  <li><code>headerView.frame.size.height = 0</code> - does not work since the contents of stack view is still shown</li>
  <li><code>stackView.isHidden = true</code> - still shows the blank header view which I want to be hidden</li>
  <li><code>headerLabel.isHidden = true</code> - same as above point, blank header view is still shown</li>
  </ul>