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

Tom Cornyn

I'm just a regular guy. I eat tires.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s