2 ms·
It says "Hook into advanced iPhone features (e.g. accelerometer, geolocation, vibration, and sound) with JavaScript". You can do that via Javascript running th
by mcantelon 17y ago
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.
- cesare 17y agoHave you read at least the titles of the chapters of the book? Or the official Apple documentation (http://developer.apple.com/safari/ http://developer.apple.com/safari/)? http://developer.apple.com/safari/library/samplecode/iPhoneOrientation/index.html http://developer.apple.com/safari/library/samplecode/iPhoneO... http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/GettingGeographicalLocations/GettingGeographicalLocations.html 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?