01 2014 档案
双击判断
摘要:方法一:移动也会判断成双击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 ) ... 阅读全文
posted @ 2014-01-02 15:01 凌度 阅读(530) 评论(0) 推荐(0)