title: UIScrollView in iOS 6
body: <p>Recently i've downloaded Xcode 4.5(iOS 6),but when tried to continue one of my projects i noticed that the UIScrollView isn't working properly,let me explain more clearly:</p>
  
  <p>I've created the UIScrollView and added the initialized it using the following code:</p>
  
  <pre><code>-(void)viewDidLoad{
  
      [mainScrollView setScrollEnabled:YES];
      mainScrollView.contentSize = CGSizeMake(480, 0);
  
      [super viewDidLoad];
  
  }
  </code></pre>
  
  <p>After i opened my XIB and linked the <code>mainScrollView</code> to a UIScrollView,after i added some UIButton's to the scrollView.When i built the project the <code>mainScrollView</code> was scrolling but the buttons didn't showed up,i mean,i just could see the button that were already on the screen.<strong>What i'm doing wrong?How can i setup the UIScrollView?</strong></p>