title: Disable horizontal scroll in UIScrollView with autolayout
body: <p>I want to create view with only vertical scroll. As it turned out it is epic hard to do in iOs. I have done this steps:</p>
  
  <p>1) Create UIViewController in storyboard;</p>
  
  <p>2) Add ScrollView inside View in UIViewController and add 0 constrains to each side.</p>
  
  <p>3) Add elements in scrollview, as result:
  <a href="https://i.stack.imgur.com/svvWz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/svvWz.png" alt="enter image description here"></a></p>
  
  <p>After I launch my app all works, but:</p>
  
  <p>1) How should I disable horizontal scroll? I add 0 constrain to the right to my scrollView + 0 constrain to the right to my uilabel (as u see on screen for some reasons it is not attached to the right, it has different constrain, but in property I set constrain = 0) and, as I thought, label text supposed to be in my screen bounds, but when I launch app I can scroll to right, i.e. uilable text didn't wrap, my scrollview just resize to fit the text.I tried to set my scrollView in code: <code>scrollView.contentSize = CGSize(UIScreen.mainScreen().bounds.width, height: 800)</code>, but didn't help.</p>
  
  <p>2) If I scroll to much, then blank space appears and this is not cool, how to fix it?</p>