html - DeviceMotion event in javascript for the mobile web -
To capture the accelerometer on mobile safari, see how to use the DavisMotion event in javascript across the web For iPad or iPhone I just want to know how I can implement it in a website or if anything please give me a good description of how it works.
iOS API
Here's a sample:
Comments
Post a Comment