title: UIScrollview not scrolling what am i doing wrong
body: <p>I have an issue where i am adding a UIScrolview to my UIViewController, but my UIScrollview doesnt want to scroll. I want it to work the same way that it works on a UITableViewController.</p>
  
  <p>Here i initialize my UIScrollview</p>
  
  <pre><code>UIScrollView *scroll = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 800)];
  scroll.contentSize = CGSizeMake(320, 800);
  scroll.backgroundColor = [UIColor redColor];
  scroll.showsHorizontalScrollIndicator = YES;
  scroll.scrollEnabled = YES;
  scroll.userInteractionEnabled=YES;
  [self.view addSubview:scroll];
  </code></pre>
  
  <p>Here i add my content to the scrollview:</p>
  
  <pre><code>UILabel *memberNo = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 100, 20)];
  memberNo.text = @"Member No";
  memberNo.font = [UIFont boldSystemFontOfSize:16];
  memberNo.textColor = [UIColor limeColor];
  [scroll addSubview:memberNo];
  
  memberText = [[UITextField alloc] initWithFrame:CGRectMake(10, 40, 300, 30)];
  memberText.placeholder = @"Member No";
  memberText.borderStyle = UITextBorderStyleRoundedRect;
  memberText.text = @"1111111";
  [scroll addSubview:memberText];
  </code></pre>