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 Info.plist Add to Info.plist with a user-facing string explaining why your app needs motion data. Without this key, the app crashes on first access. Authorization Use…