Nate Cook: Each packet of CMAccelerometerData includes an x, y, and z value — each of these shows the amount of acceleration in Gs (where G is one unit of gravity) for that axis. That is, if your device were stationary and straight up in portrait orientation, it would have acceleration (0, -1, 0); laying … Continue reading CMDeviceMotion
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed