Ilia Tikhomirov
Ilia Tikhomirov

Reputation: 599

HealthKit and Apple Watch - How to check if workout is running?

I working on an app which uses workout sessions to request heart rate data with a high frequency. Everything works perfectly if I create a new workout session from the app. Unfortunately, there is a usability issue. If user activates a workout from another Watch OS app (let's say for jogging or something), then my app has to stop his workout first, before starting a new one. How do we check if there is another Workout session already going? What I want to achieve is basically to utilise a session which is already running.

Upvotes: 0

Views: 856

Answers (1)

Allan
Allan

Reputation: 7363

There is no way to check whether a workout session is already running in another app.

Upvotes: 1

Related Questions