Unlike the accelerometer, which detects changes in acceleration such as shaking your phone, the gyroscope detects how much the device has been rotated. Apple doesn’t actually recommend using the raw output from the gyroscope, stating this in the documentation:
The raw rotation rate data delivered by the gyroscope interfac…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.