title: UIStoryBoard Auto Layout embed UIStackView inside UIScrollView
body: <p>I'm having a problem design my ViewController which contain a some Label and a ImageView. I have embed them in a StackView. My objective is to place a StackView inside a ScrollView so that my content will be scrollable if the content is longer then the screen height</p>
  
  <p>So basically what I have done is </p>
  
  <p>1 - Place a UIScrollView in a scene. Pin the scroll view to its superview without margins.</p>
  
  <p>2 - Place a UIStackView inside the scroll view. Pin all sides of the stack view to the scroll view without margins (yes this is counterintuitive).</p>
  
  <p>3 - Vertical scrolling: Add an equal widths constraint between the scroll view and the stack view</p>
  
  <p>Here is my setting in storyboard</p>
  
  <p><a href="https://i.stack.imgur.com/04kho.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/04kho.png" alt="enter image description here"></a></p>
  
  <p>But I'm getting this red warning constrains. Anyone know how to fix this? Maythanks</p>
  
  <p><a href="https://i.stack.imgur.com/SVtXJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SVtXJ.png" alt="enter image description here"></a></p>