WebKit Gets New Features in Safari Mobile on iOS 6

iOS 6 beta download link: Apple's iOS 6 now available to developers

Not a huge deal, but we can see where this is going. requestAnimationFrame and cancelAnimationFrame are very useful for – drum roll – JavaScript animation.

WebKit on iOS now supports the requestAnimationFrame and cancelAnimationFrame methods in JavaScript, as described here http://www.w3.org/TR/animation-timing/.

Note that because the specification is still at the Working Draft state, these methods have the webkit prefix, so they are window.webkitRequestAnimationFrame, window.webkitCancelAnimationFrame.

Looks like browser-based video games do have a future!

via iOS 6 beta download link: Apple’s iOS 6 now available to developers.

Published by Thomas Guy

Everybody dance. Everybody dance, now.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.