title: Creating ViewController in landscape orientation on iPhone
body: <p>In my app, I need to load new view controller at the moment when user click button. I load it from XIB file. And it is appears according to ORIENTATION set in XIB file (in view's "simulated metrics"), not actual device orientation.</p>
  
  <p>How can I change view's orientation problematically?</p>
  
  <p><strong>Note:</strong>
  As soon as View controller loaded it handles orientation change events correct and auto-resize everything correct on rotation. </p>
  
  <p><strong>EDITED:</strong>
  I make it works by adding another XIB file for landscape orientation: </p>
  
  <pre><code>[self initWithNibName: ( UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]) ? @"tfdSearchViewController_iPhone_Landscape" : @"tfdSearchViewController_iPhone" )]
  </code></pre>
  
  <p>But it is silly, because <strong>the only difference</strong> between 2 xib files is "orientation" value.</p>