title: UIScrollView isn't working (can't scroll)
body: <p>I'm adding a UIScrollView to the reusable view I'm making and then adding that reusable view to a UIViewController.</p>
  
  <p>In my reusable view I'm adding UIViews to the UIScrollView :</p>
  
  <pre><code> int yLocation = 20;
      for (int i= 0 ; i &lt; 5; i++) {
          UIView *tempView = [[offerCell alloc]initWithDelegate:self];
          tempView.frame = CGRectMake(5, yLocation, 290.0F, 70.0F);
  
          yLocation += 90;
  
          [self.scrollView addSubview:tempView];
          UILabel *tempLabel = [tempView viewWithTag:1000];
          tempLabel.text = [NSString stringWithFormat:@"Label Number %d" , i];
          [tempLabel sizeThatFits:CGSizeMake(1000, 1000)];
      } 
      self.scrollView.contentSize = CGSizeMake(self.scrollView.frame.size.width, yLocation);
  </code></pre>
  
  <p>Then I'm adding the UIView to my UIViewController </p>
  
  <pre><code>UIView *tempView = [[BuyTokensView alloc] initWithDelegate:self andViewController:self];
  [self.view addSubview:tempView];
  CGPoint point = CGPointMake(10, 0);
  tempView.center = point;
  </code></pre>
  
  <p>The view is shown correctly but I can't scroll the UIScrollView. My UIScrollView height is smaller than the Height I'm assigning in ContentSize, so why can't I scroll?</p>
  
  <p>Here is a picture of the UIViewController:
  <img src="https://i.stack.imgur.com/59x9n.png" alt="image 1"></p>