A more comprehensive list of iOS6 related web features with some less noted
can be found at MobileXWeb. With the usual major features I found some less noted but notable features/issues, some of which I’ve already run into with development:
- there is no way to detect the user is on an iPhone5 explicitly you have to check screen height
You can check for the iOS version and Mobile Safari version but not the device version. I also noticed an app saved to your homescreen via bookmark does not return safari version in navigator.userAgent.
- The ‘Take Photo or Video’ upload option won’t appear if you set the ‘multiple’ attribute on your file input for html5 uploads
- There is a new undocumented metatag ‘apple-mobile-web-app-title’ to declare your homescreen title when your web app is save to the homescreen
- The Javascript engine in in Web View (PhoneGap/Cordova apps, embedded browsers) runs 3.3x slower then the new Safari App.
This is a little alarming. It sounds like Web View has not been getting any of the Javascript engine optimizations Safari has been getting.
- iOS 6 is available as a free update for every iOS 5 device but not the iPad first generation so the iPad market is being fragmented for the first time
- ios6 gets requestAnimationFrame for optimized animations
- Chromeless webapps (using the apple-mobile-web-app-capable meta tag) now have their own storage sandbox.
- Remote Web Inspector for webapp debugging works in Phonegap apps but is not available on Windows as it requires Safari 6
- WebView: A new supressesIncrementalRendering Boolean attribute that can eliminate the partial rendering mechanism
Interesting, will have to experiment with this one.
- Mutation Observers from DOM4 are now implemented. You can catch a change in the DOM using the WebKitMutationObserver constructor
