17 September 2008

iPhone 2.1 adds SVG support to Mobile Safari

The latest software upgrade to the iPhone, version 2.1, finally brings SVG support to the iPhone.

Why is this useful? Well, I first noticed that it was working on Dmitry’s Raphaël demo site, which includes some cool demonstrations of dynamic vector graphics with SVG produced with this JavaScript library. These now work on the iPhone. As well as they can, anyway, in a browser that doesn’t have a continuous pointing device.

SVG reflection demonstration
Demo image

Above is an example of reflection using Raphaël and SVG that will now work correctly on Mobile Safari. You should see a reflection underneath Aiden’s photo.