title: Weird thing happening when adding UIViews to a ScrollView
body: <p>I have a problem when adding UIViews to my scrollview:</p>
  
  <pre><code>NSArray *views = [NSArray arrayWithObjects:view1, view2, view3,nil];
      for (int i = 0; i &lt; views.count; i++) {
          CGRect frame;
          frame.origin.x = self.scrollView.frame.size.width * i;
          frame.origin.y = 0;
          frame.size = self.scrollView.frame.size;
  
  
  
          [self.scrollView addSubview:[views objectAtIndex:i]];
      }
  
  
      self.pageControl.numberOfPages = views.count;
      self.scrollView.contentSize = CGSizeMake(self.scrollView.frame.size.width * views.count, self.scrollView.frame.size.height);
  </code></pre>
  
  <p>That's the code I'm using. The problem is that the ScrollView has the three pages, and all, but just the first page actually contains a view, which is the last one in the array. Why is this happening? I also tried:</p>
  
  <pre><code>for (UIView *view in views) {
      [self.scrollView addSubview:view];
  }
  </code></pre>
  
  <p>With the same result. What I'm doing wrong?</p>