iOS 6 now supports uploading images via the <input type='file'>
tag.
Is there any way to check for this support other than getting the user agent and checking whether the Safari version is 6.0 or greater? That seems kinda kludgy and prone to breaking if the user agent changes in the future. Also I'm not sure how it would work if users are using alternate browsers.