JB Gyro App
This is the general class that handles events from the device's gyroscope.
To Use Gyroscope
Once you have everything initialized in memory, send a message to the motion manager that you want to start receiving updates:
This means that, at regular intervals, you will receive CMGyroData objects.
- CMRotationRate rotationRate
A CMRotationRate is an object that consists of three doubles: x, y, and z. These are measurements of the device’s rate of rotation (in radians per second) around the appropriate axes.