Location of indoor workouts

In the fitness app under iOS 18, the location of all workouts is displayed on a small map.

For workouts with routes, I can already successfully read out the route and thus also determine the starting point. So that works.

For indoor workouts such as yoga or indoor rowing, the exact location is also displayed in the fitness app. I would now also like to read out this location for these indoor workouts in my app.

Does anyone know how to do this?

Answered by DTS Engineer in 823171022

There is currently no public API for 3rd party developers to access the location of an indoor workout. If that is important to you, I’d suggest that you file a feedback report and share the report ID here for the HealthKit folks to consider.

In the case where you create the workouts with your own code, you can probably consider creating a workout route with a single location.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Accepted Answer

There is currently no public API for 3rd party developers to access the location of an indoor workout. If that is important to you, I’d suggest that you file a feedback report and share the report ID here for the HealthKit folks to consider.

In the case where you create the workouts with your own code, you can probably consider creating a workout route with a single location.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Location of indoor workouts
 
 
Q