I using touchend event in UIWebView follows:
window.ontouchend=function(touchEvent)
{
...
}
I use it to track the scroll inside UIWebView and this event normally work in iOS 5+, but this event does not work in iOS 4!
How I can track touchend event in javascript in iOS 4?
Thank you in advance for your help.
I dont found a way to get to work this JS code in iOS 4
So I decided to leave this code for iOS 5, but for earlier iOS versions I took the decision from this question:
How to intercept touches events on a MKMapView or UIWebView objects?
And in my viewController I write this code:
I hope someone is handy!