我正在开发 Windows Phone PhoneGap 应用程序。现在该应用程序是可缩放的。我希望该应用程序不可缩放。任何帮助表示赞赏。我试过 <meta name="viewport" content="user-scalable=no">
和 <body style="-ms-touch-action: none;">
, 他们没有工作。
最佳答案
这可能对您有帮助:
When you package an Enyo (or any HTML app) on WP7, the native WebBrowser control is used as the wrapper for your content. Like other platforms, you have the option of setting your viewport to control whether or not the user can pinch/zoom.
<meta name="viewport" content="user-scalable=no">
关于c# - Windows Phone PhoneGap 应用程序不应可缩放,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17741903/