在Safari浏览器中,禁止掉touchend事件,可解决这个问题,但是前提是,页面滚动使用了iscroll,否则touchend事件会失效,如果用了iscroll,touchend事件则可正常执行. document.addEventListener('touchmove', function (e) { e.preventDefault(); return false; }, false); document.addEventListener('touchend', function (e) { e.preventDefault(); return false; }, false);
在Safari浏览器中,禁止掉touchend事件,可解决这个问题,但是前提是,页面滚动使用了iscroll,否则touchend事件会失效,如果用了iscroll,touchend事件则可正常执行.
document.addEventListener('touchmove', function (e) {
document.addEventListener('touchend', function (e) {