if the content displayed in the phonegap application is larger than the borders of the web view, scrolling occurs automatically.
Otherwise - for example, if you just scroll the div using -webkit-overflow-scrolling - you need to use the solution found here: How to detect strokes in the status bar
In scrollViewShouldScrollToTop you need to call
[theWebView stringByEvaluatingJavaScriptFromString:"should_scroll_to_top"];
should_scroll_to_top is a normal function in js.
source share