title: ScrollView is messing up in iOS 6
body: <p>When I make and setup a scrollView in Xcode, It never works. It simply wont scroll and show my content! I have coded the backend of it but no go! I have been using this tutorial since iOS 4: <a href="http://www.devx.com/wireless/Article/45113" rel="nofollow">Devx Scrollview Tutorial</a></p>
  
  <p>Now, I think it is broken in iOS 6 due to the new screen size on the new iPhone. Here is the backend code I have been using:</p>
  
  <pre><code>    scrollView.frame = CGRectMake(0, 0, 320, 520);
  
  //---set the content size of the scroll view---
  [scrollView setContentSize:CGSizeMake(320, 520)];
  // Do any additional setup after loading the view.
  </code></pre>
  
  <p>The scrollview sizes in Xcode are Width: 320, Height: 520.</p>
  
  <p>What am I doing wrong? It is probably something stupid.</p>
  
  <p><strong>Update:</strong></p>
  
  <pre><code> - (void)viewDidLoad
  {
      [super viewDidLoad];
        [self.overlay removeFromSuperview];
      NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
  
      [nc addObserver:self selector:@selector(keyboardWillShow:) name:
       UIKeyboardWillShowNotification object:nil];
  
      [nc addObserver:self selector:@selector(keyboardWillHide:) name:
       UIKeyboardWillHideNotification object:nil];
  
      tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self
                                                              action:@selector(didTapAnywhere:)];
      [self customizeAppearance];
       self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"stone.png"]];
  
      [scrollView setScrollEnabled:YES];
      scrollView.frame = ([UIScreen mainScreen].bounds);
  
      //---set the content size of the scroll view---
      [scrollView setContentSize:CGSizeMake(320, 800)];
  
  
      // Do any additional setup after loading the view.
  }
  </code></pre>