title: Interface orientation in iOS 6.0
body: <p>How to use the following methods to support interface orientation in iOS 6.0:</p>
  
  <pre><code>shouldAutorotate
  
  supportedInterfaceOrientations
  
  preferredInterfaceOrientationForPresentation
  </code></pre>
  
  <p>As "shouldAutorotateToInterfaceOrientation" is deprecated in iOS 6.0.</p>
  
  <p>Please provide code snippets to support your answers.</p>
  
  <p>Thanks.</p>