title: PhoneGap: Device orientation under iOS
body: <p>I created a new PhoneGap app using the following</p>
  
  <p><code>phonegap create hello-world com.hello.world HelloWorld</code></p>
  
  <p>With PhoneGap 4.2.0-0.25.0. However, I am not able to change the viewport orientation to landscape on the iPhone or the simulator. I tried the following two methods within my config.xml. </p>
  
  <p><code>&lt;preference name="orientation" value="default" /&gt;</code> </p>
  
  <p><code>&lt;preference name="orientation" value="landscape" /&gt;</code> </p>
  
  <p>I am still not able to use the app in landscape mode. (Of course I disabled any rotation locks on my iPhone.)</p>
  
  <p>Does anybody know how to solve this?</p>