Last Updated: February 25, 2016
·
2.857K
· ronkorving

setTimeout/setInterval in iOS6 (webview) are broken, here's the fix

This little library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6, which suffers from a bug that kills timers that are created while a page is scrolling. This library fixes that problem by recreating timers after scrolling finishes (with interval correction).

https://gist.github.com/3755461