Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Determine Device Rotation With Raw Gyroscope Data
Copy link
Facebook
Email
Notes
More

Determine Device Rotation With Raw Gyroscope Data

Daily Coding Tip 230

Type Safely's avatar
Type Safely
Jan 15, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Determine Device Rotation With Raw Gyroscope Data
Copy link
Facebook
Email
Notes
More
Share
white Audi vehicle with gray wheels
Photo by Chinmay Jade on Unsplash

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.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More