title: How to set device (UI) orientation programmatically?
body: <p>Would like everything on the screen (UI) to be able to rotate from landscape left to right or vica versa. </p>
  
  <p>How do I go about doing this? Is this private? </p>
  
  <p>I know that  </p>
  
  <pre><code>-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {}
  </code></pre>
  
  <p>lets you say which orientations the UI can be, but is there a way to force only one at a time? </p>
  
  <p>Cheers</p>