cordova - PhoneGap: Device orientation under iOS -
i created new phonegap app using following
phonegap create hello-world com.hello.world helloworld
with phonegap 4.2.0-0.25.0. however, not able change viewport orientation landscape on iphone or simulator. tried following 2 methods within config.xml.
<preference name="orientation" value="default" />
<preference name="orientation" value="landscape" />
i still not able use app in landscape mode. (of course disabled rotation locks on iphone.)
does know how solve this?
i tried , worked fine. sure set correct options in xcode this: 
before build clear project ->
cordova create orientationchange com.example.com orientationchangecd orientationchangecordova platform add ioscordova plugin add org.apache.cordova.console(you don't need orientation change it's useful debugging).cordova build
run project in xcode (6.3 actual version) , give try - should work!
let me know if need further help!