PDA

View Full Version : PhoneGap and orientation issues with iOS



JeffWithG
29 Jun 2011, 5:09 PM
After upgrading to PhoneGap 0.9.5.1, my iOS app stopped responding to orientation changes. After a couple of hours googling and banging my head - I finally figured out what the issue was - turns out to be pretty simple; with a new Xcode project - in the plist, you now need to add to the 'Supported interface orientations' any additional orientations. Only one, Portrait, is set as default.

Thought I'd share...

Hanni Sullivan
29 Jun 2011, 10:28 PM
He JeffWithG, thanks for posting this. I had the problem and it also took me a quite a while to realize that my project simply lacked the correct configuration. Hopefully your post will at least spare other people the headache.