我有一个动画区域,我通过javascript touchmove事件为移动设备激活,但在水平移动屏幕上有一个向下滚动动画触摸区域的问题 . 这是我的代码

jQuery(".animatedPhone").bind('touchmove', function(jQueryEvent) {});

有没有办法如何激活touchmove只有当用户使用他的两个手指像谷歌 Map 在移动时正在做?

我尝试了下面的代码

$(".animatedPhone").on("touchstart",function(e){
    if(!tapped){ //if tap is not set, set up single tap
        tapped = setTimeout(function(){
          tapped = null;
          //insert things you want to do when single tapped
        },300);   //wait 300ms then run single click code
    } else {    //tapped within 300ms of last tap. double tap
        clearTimeout(tapped); //stop single tap callback
        tapped = null;
        alert('double tapped');
    }
    e.preventDefault()
});

但是再次像这样动画触摸区域是不可滚动的 .

谢谢 .