posts - 535,comments - 60,views - 197万
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 凌度 阅读(521) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示