摘要:
方法一:移动也会判断成双击onTouchesEnded:function(touches, event) { var touchOne =touches[0]; var str = touchOne.getPreviousLocation().x + "\n" + touchOne.getLocation().x; this._logLabel.setString(str); if (Math.abs(touchOne.getDelta().x) <=6 && Math.abs(touchOne.getDelta().y) <=6 ) ... 阅读全文