18 Nov 2011 12:29 AM #1
how to set landscape view only for an application in Sencha Touch 2.0?
how can we set landscape view only for an application?
I'm following sencha touch 2.0 pr2 with MVC pattern.
Any help would be appreciated....
18 Nov 2011 7:57 AM #2
Well I'm assuming you're using something like PhoneGap to wrap the application.
Then you do this:
For iPhone's plist:
<dict> `..... <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> </array> .......... </dict>
<activity ........ android:screenOrientation="portrait">
18 Nov 2011 2:26 PM #3