开发者

SenchaTouch Lock screen so it does not go into Landscape?

Can someone poi开发者_运维百科nt me to how this is done with SenchaTouch?

Thanks


If this is on an iOS device you cannot lock the orientation in Safari mobile.

If you are installing it as a web view/hybrid/native app (say with PhoneGap), you can lock the orientation.


  if(Ext.os.is.Android || Ext.os.is.iOS ){
            navigator.screenOrientation.set('portrait');
        }

Using Phonegap u can do this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜