title: UIScrollview doesn't scroll iOS
body: <p>I'm creating several scroll views in one view that scroll horizontally. The following code works fine:</p>
  
  <pre><code>-(void)updateSection {
      builder = [NSMutableArray array];
      float xPosition = 0;
      float xposbut = 100;
  
      scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 100, self.frame.size.width, self.frame.size.height - 69)];
  
      scrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
      scrollView.delegate = self;
      [self addSubview:scrollView];
  
      for (int i = 1; i &lt; itemArticleArray.count; i++) {
          ItemView *item = [ItemView loadNibs];
          item.frame = CGRectMake(xposbut, 10, item.frame.size.width, item.frame.size.height);
  
          xPosition += scrollView.frame.size.width + 2;
          xposbut += 500;
          UIView *seperatorView = [[UIView alloc] initWithFrame:CGRectMake(xposbut - 50, 4, 2, scrollView.frame.size.height - 8)];
          [scrollView addSubview:seperatorView];
          xPosition += scrollView.frame.size.width + 4;
  
          [scrollView addSubview: item];
          [builder addObject:item];
      }
  
      [scrollView setContentSize:CGSizeMake(xposbut, scrollView.frame.size.height)];
      [self addSubview:scrollView];
  }
  </code></pre>
  
  <p>However, when I change the 8th line of code to the following:</p>
  
  <pre><code>scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 400, self.frame.size.width, self.frame.size.height - 69)];
  </code></pre>
  
  <p>It cause the layout to look fine, but the scroll views do then not scroll at all. Any ideas?</p>