开发者

How can I write a javascript web app that doesn't rotate when viewed on mobile safari?

I have a web-app here that uses the accelerometer on the iP(ad|od|hone) devices, and HTML5 canvas. Unfortunately, the experience of the app is rather rui开发者_如何学Cned when the page rotates.

Is there any way I can prevent it from doing so? If not, how can I make the landscape version identical to the portrait one?


You will see this script to your problem: http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜