I'm using the following to capture Touch Events on an Iphone.
document.addEventListener('touchmove', function(event) {
event.preventDefault();
var touch = event.touches[0];
$('#touchPosition').text("Touch x:" + touch.pageX + ", y:" + touch.pageY);
}, false);
Strangely, I'm finding that the positions are wrong? the farther to the right I move on the iPhones screen (horizontally or vertically positioned, the more prominent the inaccuracies are.
Any ideas here?