It says "Hook into advanced iPhone features (e.g. accelerometer, geolocation, vibration, and sound) with JavaScript".
You can do that via Javascript running through an app (Phonegap is great for this), but can't do that via a web app.
You can do that via Javascript running through an app (Phonegap is great for this), but can't do that via a web app.
Or the official Apple documentation (http://developer.apple.com/safari/)?
http://developer.apple.com/safari/library/samplecode/iPhoneO...
http://developer.apple.com/safari/library/documentation/Appl...
Edit: where in the book did you see how to use geolocation, vibration or any other feature which is not available with a web app developed for mobilesafari?