title: How to dynamically change superview's height with autolayout
body: <p>I have two subviews in a view, and their sizes are managed with constraints in auto layout.</p>
  
  <p>How can I change the height of superview, in relation to the height of the subviews?</p>
  
  <p>I just created a repository that has the problem : <a href="https://github.com/Deviasoft-Official/IOS-ScrollViewAndAutoLayout" rel="nofollow">https://github.com/Deviasoft-Official/IOS-ScrollViewAndAutoLayout</a> </p>
  
  <p>More precisely, my question is how to delete the line 36 in this file:
  <a href="https://github.com/Deviasoft-Official/IOS-ScrollViewAndAutoLayout/blob/master/ScrollViewAndAutolayout/ViewController.swift" rel="nofollow">https://github.com/Deviasoft-Official/IOS-ScrollViewAndAutoLayout/blob/master/ScrollViewAndAutolayout/ViewController.swift</a></p>