title: iOS 8 - UIScrollView doesn't scroll
body: <p>I want to make vertical scrolling depends on content inside <strong>Content View</strong>. I've created following hierarchy: <strong>View</strong> -> <strong>Scroll View</strong> -> <strong>Content View</strong>. </p>
  
  <ul>
  <li>I pinned (top, bottom, left, right) <strong>Scroll View</strong> to the <strong>Main View</strong></li>
  <li>I also pinned <strong>Content View</strong> to the <strong>Scroll View</strong></li>
  <li>Then i added <strong>Same Width</strong> and <strong>Same Height</strong> constraints between <strong>Content View</strong> and <strong>Main View</strong> in order to <strong>Scroll View</strong> could calculate it's content size</li>
  </ul>
  
  <p>After all these actions, <strong>Scroll View</strong> doesn't scroll at all (it just shrinks the content). It scrolls only if i add <strong>scrollView.contentSize.height</strong> to the <strong>viewWillLayoutSubviews()</strong>. However i don't want to hardcode this height value. I thought <strong>Autolayout</strong> should automatically calculate content height and add appropriate scrolling. Does anyone know the proper way to solve this problem?</p>