Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 481 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 481 Bytes

AirPods Motion API

Overview

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.

Requirements

  • Xcode
  • Swift
  • iOS 14.0+