I am trying to make a landscape only app, but I am not able to produce any rotation at all.
There used to be a autorotate
setting in PhoneGap.plist
but in phonegap 1.8.0 I can find it. Does it still exists?
What else could be wrong that my application is not rotating?
UPDATE
I know have webpage containing only one word "test". I set target device to iPad only and enabled all four orientations. What could still be wrong?
Do need to have a special html document type? Do I need to include some cordova-1.8.0.js? I could not find one for iOS (!?!) so i tested it with the android version. I read the API is now the same so can I use the android .js file?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…