title: How to adjust stackview with child view and add constarint
body: <p><a href="https://i.stack.imgur.com/t9rnL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t9rnL.jpg" alt="enter image description here"></a>I am leaning iOS programming in objective-c. In Xcode, I am trying to add stack view that encompass a table view. However, the storyboard showed some warning or error that indicates I should set constraints to the stack view and the table view as well in the Y-axis as well as adding constraint.
  I spent some time to find out how to set that right, but at the end the stack view because distorted and appears as shown below in the image.</p>
  
  <p>Please advice and let me know how to adjust the constraint of stack view and its included table view.</p>
  
  <p><strong>imageView</strong></p>
  
  <pre><code>      [![attempt to add constarint to stack view][1]][1]
  
  
         [1]: https://i.stack.imgur.com/UJdyn.jpg
  </code></pre>