Workout Distance summary is in miles. Can I make it meters?

Hello everyone,

I'm making an app that saves rowing workouts. Rowing workouts are traditionally in meters. I want my workout summaries to always show in meters.

I have created and saved a HKWorkout instance. For the totalDistance, I am saving a quantity that uses HKUnit.meter() as its unit. Any intervals that I've associated with the workout are also saved with HKUnit.meter() as the unit.

When I look at the Workout in the Health app, it shows the total distance in miles. All the intervals are in miles as well

Is there a special piece of metadata that I need to add to my workout to hint to the Health app that I'd like to always see the summary using meters?

How can I get my workout to always be shown in meters in the health app?

Thank you for your advice,

_ michael

The display unit for distance is controlled by the user. e.g. if change the unit for Distance Walking+Running in that view (scroll to the bottom to see Unit and its choices), then the distance shown in Workout will use that unit. This cannot be controlled by the data being saved in a workout.

Thank you, I very much appreciate the response and I did not know about that.

It would be really great to be able to specify units for an activity. Rowing is always measured in meters. I'm used to seeing cycling distances in miles, but rowing always in meters.

Workout Distance summary is in miles. Can I make it meters?
 
 
Q