title: View not scrolling when simulator set to landscape mode iOS
body: <p>I went through many blogs, stack flow questions and googled alot, but didn't get any solution to get my ScrollView work. I don't know why but my ScrollView works in portrait mode but not in landscape.</p>
  
  <p>I am developing using xcode 5 for ios 7 devices. I developed my screen using storyboard. I added a ViewController on storyboard, removed the default UIView it contains, and added a ScrollView. In that ScrollView I added my subviews. Then I referenced the ScrollView to the scrollview object in the outlets.</p>
  
  <p>This is my LoginViewController.h</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  @interface LoginViewController : UIViewController
  @property (nonatomic, retain) IBOutlet UIScrollView *scrollView;
  @end
  </code></pre>
  
  <p>This is my LoginViewController.m</p>
  
  <pre><code>#import "LoginViewController.h"
  @interface LoginViewController ()
  @end
  @implementation LoginViewController
  @synthesize scrollView;
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
  self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
  if (self) {
      // Custom initialization
  }
  return self;
  }
  - (void)viewDidLoad
  {
  [super viewDidLoad];
  // Do any additional setup after loading the view.
  scrollView.contentSize = CGSizeMake(scrollView.frame.size.width, scrollView.frame.size.height);
  }
  - (void)didReceiveMemoryWarning
  {
  [super didReceiveMemoryWarning];
  // Dispose of any resources that can be recreated.
  }
  @end
  </code></pre>
  
  <p>My scrollview scrolls when in portrait mode but not in landscape. Please help me. Thanks in advance. </p>