Access Core Motion accelerometer, gyroscope, magnetometer, device-motion, pedometer, activity-recognition, altitude, headphone motion, batched high-frequency…
CoreMotion Read device motion, pedometer/activity, altitude, headphone, batched-workout, and submersion sensors with Core Motion. Scope: Swift 6.3, iOS 26+. Contents Setup CMMotionManager: Sensor Data Processed Device Motion CMPedometer: Step and Distance Data CMMotionActivityManager: Activity Recognition CMAltimeter: Altitude Data Update Intervals and Battery Common Mistakes Review Checklist References Setup
don't have the plugin yet? install it then click "run inline in claude" again.