title: UIScrollView ContentView dynamic height constraints
body: <p>I am facing issue with contentView height constraints. All labels have dynamic height i.e no fixed height. I have read somewhere to set height equal to scrollview height.</p>
  
  <p>The height of ViewController is currently 870px, scrollview height is 757px. I have no idea how can i set height in AutoLayout , as I am unable to scroll after a certain point.</p>
  
  <p><a href="https://i.stack.imgur.com/nQogw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nQogw.png" alt="Appearing in Simulation"></a>
  <a href="https://i.stack.imgur.com/VLNsq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VLNsq.png" alt="ViewController in main.Storyboard"></a></p>
  
  <p>I have set UIScrollView first then I added UIView as the child of the UIScrollView then I added 2 UIImageView and few UILabels, the size of UILabel is dependant on the content  and content is not fixed. Since the height of UIView is static, when the content of UILabel is quite big, then I am unable to scroll after a certain point.</p>
  
  <p>As per @Wonder Dog answer I made few changes, now I am getting Scroll View ambiguous height issue <a href="https://i.stack.imgur.com/3Q39X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Q39X.png" alt="enter image description here"></a></p>