如何在corona中禁用webview缩放属性?
我需要在我的应用程序中禁用web视图缩放属性。是否可以启用/禁用缩放控制?是的,可以。将此代码添加到html页面:如何在corona中禁用webview缩放属性?,webview,coronasdk,Webview,Coronasdk,我需要在我的应用程序中禁用web视图缩放属性。是否可以启用/禁用缩放控制?是的,可以。将此代码添加到html页面: <head> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> <meta name="viewport" content="width=device-width" /> <
<head>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
</head>
要启用缩放,只需创建同一页面的副本,但不带元标记:
<head>
</head>
然后在web视图中加载页面。这是否仍然有效?这对我的应用程序没有影响:(