Lightlines
By dpearson2699

core-motion

dpearson26993.5k installs

Build motion-aware apps that respect battery life.

What it does

Guides implementation and review of motion-sensor features in iOS and watchOS apps.

When to use it

Use when implementing sensor readings, step counting, activity detection, altitude tracking, motion interactions, headphone head tracking, or watchOS depth features.

How to use it

It changes how the agent implements motion features, requiring availability checks, appropriate update rates, and matching lifecycle cleanup.

What you provide

  • An existing project

Latest review

What you need · 3

The app code uses the CoreMotion framework to access motion APIs.

The guidance is scoped to Swift 6.3.

The main iOS guidance is scoped to iOS 26 or later.


Access · 0

No additional actions listed.