requestAnimationFrame seems to be undefined in UIWebView. Is there another function that does the same thing or do I have to use setTimeout?
requestAnimationFrame seems to be undefined in UIWebView . Is there another function that does
Share
It looks like this is not currently supported in all versions of WebKit, so you’ll have to use a timeout. This site provides an example of how to create a cross-platform solution: