I’m writing an iPhone app using jQuery mobile & phonegap. When I rotate my iPhone into landscape orientation, nothing happens. Clearly I’m missing something! Anyone more clever than I able to tell me what?!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have you set up landscape as a supported device orientation?
You can do this by showing the project navigator and clicking on your project, then selecting the relevant target. Under the “Summary” tab, look for “Supported Device Orientations” and make sure “Landscape Left” and “Landscape Right” have the pressed-in effect.
If they’re both enabled, make sure this line is in your header:
Hope that helps!