如何在Safari上禁用两个手指捏

时间:2017-06-30 03:21:45

标签: javascript iphone safari gesture pinch

我正在开发此应用http://test.app.upet.co,我需要禁用两个手指捏。

这是两指捏之前的页面

Before two finger pinch

这是两指捏之后的页面

enter image description here

非常感谢!

1 个答案:

答案 0 :(得分:0)

<a title="ASUS ROG" class="product-media__link js-tracker-product-link" href="https://www.bukalapak.com/p/komputer/laptop/8vl4vm-jual-asus-rog?search%5Bkeywords%5D=asus%20rog&amp;from=omnisearch"> 将此添加到您的头部<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

参考https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html