PallavAg / AirPodsMotionAPI

Test Swift's AirPods Motion API in this sample project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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+

About

Test Swift's AirPods Motion API in this sample project


Languages

Language:Swift 100.0%