title: Why is ViewController's initial orientation is not landscape when it should be?
body: <p>I'm making an app that only supports landscape mode of an iOS device. So I have set it to only return YES for <code>UIInterfaceOrientationLandscapeRight</code> and <code>UIInterfaceOrientationLandscapeLeft</code> in <code>shouldAutorotateToInterfaceOrientation:</code> and set the initial orientation in <code>Info.plist</code> to <code>UIInterfaceOrientationLandscapeRight</code>. The app is displaying fine.</p>
  
  <p>The problem is that the coordinate system is not in landscape until the view is finished loading (I'm not particularly sure here when it is being applied correctly). What I know is that it changes to the correct coordinate space when it calls the: <code>shouldAutorotateToInterfaceOrientation</code> upon launch. The problem is that when both <code>viewDidLoad</code> and <code>initWithCoder:</code> are called it is in the wrong coordinate space, before <code>shouldAutorotate...</code>.</p>
  
  <p>What I mean is that if I set a view to the full width of the screen with <code>CGRectMake(0, 0, 480, 320)</code> (instead of using self.view.frame or something) it is borked when the coordinate spaces are rotated "corrected". The views created in <code>viewDidLoad</code> have a rotation applied to them so they are wrong. This makes setting up views in those methods a pain and really illogical. I'm guessing that this is an issue with how orientations are handled. Why does it behave like this? I have told it in every way possible that I only want landscape position. Can this be something with Interface builder and properties there?</p>
  
  <p>This is using a standard <code>UIViewController</code>. The new views are however also loaded from .xib files in <code>viewDidLoad</code>. Could this be the issue?</p>