Detect pinch to zoom when 'user-scalable' is set to yes
问题 How can I detect the scale (or distance pinched) of the pinch to zoom when the meta name="viewport" is set to user-scalable=yes ? I've tested on Android but the pinch to zoom can't be detected if the meta name="viewport" is set to user-scalable=yes . If the meta name="viewport" is set to user-scalable=no then the pinch to zoom can be detected but then I'm not able to zoom in on the document. Here are my tests on jsFiddle: Hammer.js: http://jsfiddle.net/pE42S/ var pziW = "test"; var viewport