title: UIScrollView content size out of bounds in ios7
body: <p>I have a wired bug in <strong>iOS7</strong>, my <code>UIScrollView</code> content height is out of screen bounds and I can't scroll down to the bottom.</p>
  
  <p>I'm using AutoLayout.</p>
  
  <p>The view heirarchy is:</p>
  
  <pre><code>- UIView
   - UIScrollView
    - UIView
     - Buttons
  </code></pre>
  
  <p>In <strong>iOS8+</strong> it's working fine.</p>
  
  <p>I have this in <code>viewDidLoad</code>:</p>
  
  <pre><code>if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]) {
      self.automaticallyAdjustsScrollViewInsets = NO;
  }
  </code></pre>
  
  <p>And this also:</p>
  
  <pre><code>- (void)viewDidAppear:(BOOL)animated
  {
      [super viewDidAppear:animated];
      self.scrollView.contentSize = CGSizeMake(320, 1380);
  }
  </code></pre>