API Notes: CoreMotion framework¶
The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).
These bindings are accessed through the CoreMotion package (that is, import CoreMotion).
New in macOS 10.15.