title: UIScrollView doesn't work when view starts but does work after rotation
body: <p>I have a <code>UIScrollView</code> to display a longer listing of textviews, fields and images. In the <code>viewDidAppear</code> I set the contentSize appropriately and I also add this code to <code>didRotateFromInterfaceOrientation</code> so that the <code>UIScrollView</code> contentSize resizes based on the orientation.</p>
  
  <p>Problem is that when the view first appears the <code>UIScrollView</code> doesn't respond (I can't scroll) but after rotating the device the code in <code>didRotateFromInterfaceOrientation</code> is called and everything works perfectly.  (If I start the app in landscape orientation I can only scroll a little bit to see what is normally displayed in portrait mode and not the extended content - ignores the scrollView I've defined)</p>
  
  <p>The code is the same in <code>viewDidAppear</code> and <code>didRotateFromInterfaceOrientation</code> so why does the <code>scrollView</code> only respond after rotation?  Any help appreciated.</p>
  
  <p>The output from the <code>NSLog</code> messages in both methods is the same.</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
  
  
  - (void) viewDidAppear:(BOOL)animated{
     //If not an iPad set the scrollview to allow scrolling of view
     if (!([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)) {
        self.scrollView.contentSize= CGSizeMake(self.view.frame.size.width,1000);
        [self.scrollView setUserInteractionEnabled:YES];
     }
     if(self.scrollView.userInteractionEnabled){
      NSLog(@"DEBUG scrollview height : %f",self.scrollView.contentSize.height);
      NSLog(@"DEBUG scrollview width : %f",self.scrollView.contentSize.width);    
     }
  }
  
  -(void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation{
  //If not an iPad set the scrollview
  
      if (!([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)) {
          self.scrollView.contentSize= CGSizeMake(self.view.frame.size.width,1000);
      }
      if(self.scrollView.userInteractionEnabled){
         NSLog(@"DEBUG scrollview height : %f",self.scrollView.contentSize.height);
         NSLog(@"DEBUG scrollview width : %f",self.scrollView.contentSize.width);
      }
  }
  </code></pre>