How to force inAppBrowser to not rotate (stay in Portrait or Landscape Mode)?

588 views
Skip to first unread message

Manos K.

unread,
Dec 7, 2013, 6:33:43 AM12/7/13
to phon...@googlegroups.com
On iOS 7, Phonegap 3.1 or 3.2, every time the inAppBrowser opens, despite setting my Device Orientation to Portrait, that rule is overridden by the inAppBrowser and page rotates to Landscape if device is rotated to Landscape.

How can I set the inAppBrowser to only open in Portrait mode (or only in Landscape mode)?

The reason why I'm requesting this, is because, if my App is in Portrait mode and I open a web page through the inAppBrowser and rotate the phone to Landscape Orientation and then press the Done Button, my App returns to Portrait mode, but looks completely messed up. So this is definitely a bug (I suppose).

Hope someone can help me out with this issue, cause I've been struggling quite a few hours without success.

Peter Corvers

unread,
Mar 20, 2014, 7:05:30 AM3/20/14
to phon...@googlegroups.com
Yeah i can't get it to work either. Someone should help us huh!

Op zaterdag 7 december 2013 12:33:43 UTC+1 schreef Manos K.:

Oren

unread,
Mar 20, 2014, 7:24:24 AM3/20/14
to phon...@googlegroups.com
I believe it is set through the Xcode.
It is something specific to the iOS application. Tell there (Xcode project settings) that your application support only landscape or portrait as needed.


Regards,
Oren
--

Shyaam Jadhav

unread,
Mar 20, 2014, 7:56:14 AM3/20/14
to phon...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages