title: "Unable to simultaneously satisfy constraints" error with UIScrollView
body: <p>Created a simple ViewController, and added UIScrollView with a xib. When I'm trying to change the height of the scroll view, I'm getting a weird exception:</p>
  
  <blockquote>
    <p>Unable to simultaneously satisfy constraints.     Probably at least one
    of the constraints in the following list is one you don't want. Try
    this: (1) look at each constraint and try to figure out which you
    don't expect; (2) find the code that added the unwanted constraint or
    constraints and fix it. (Note: If you're seeing
    NSAutoresizingMaskLayoutConstraints that you don't understand, refer
    to the documentation for the UIView property
    translatesAutoresizingMaskIntoConstraints)  (
        "",
        "",
        "",
        "" )</p>
    
    <p>Will attempt to recover by breaking constraint 
    
    (Names: '|':UIView:0xa4ab830 )></p>
    
    <p>Break on objc_exception_throw to catch this in the debugger. The
    methods in the UIConstraintBasedLayoutDebugging category on UIView
    listed in  may also be helpful.</p>
  </blockquote>
  
  <p>Here's how my xib looks:
  <img src="https://i.stack.imgur.com/0SpBP.png" alt="enter image description here"></p>
  
  <p>Found on the SO that setting content size and setting translatesAutoresizingMaskIntoConstraints property to YES might help. Tried it, didn't work:</p>
  
  <pre><code>topScrollView.translatesAutoresizingMaskIntoConstraints = YES;
  topScrollView.contentSize = CGSizeMake(1000, 2000);
  </code></pre>
  
  <p>EDIT: added screenshot
  <img src="https://i.stack.imgur.com/oVMQs.png" alt="enter image description here"></p>