AirPods Motion API


Swift provides an AirPods motion API that works on supported products like AirPods Pro, AirPods Gen 3, AirPods Max.

The API gives access to details like Attitude, Rotation Rate, Acceleration, and Gravity.

This Xcode project demos the use of the AirPods Motion API using CMHeadphoneMotionManager().

You can edit the accuracy of the values from the project.


  • Xcode
  • Swift
  • iOS 14.0+


View Github