title: Changing height of stack through code and then resetting it in iOS swift
body: <p>I have a stackview whose height is 250. I want to program:</p>
  <ol>
  <li>When the button is tapped, the stack should go to the top of screen.</li>
  <li>Then after a few seconds it should go back to its height of 250, which Will be done via dispatchque.main.asynafter</li>
  </ol>
  <p>How can I get it to go to the top of the screen &amp; then reset it to its original height?
  <a href="https://i.stack.imgur.com/FsPmj.png" rel="nofollow noreferrer">The stack I want to go upto the top of the superview</a></p>