Posts

Post not yet marked as solved
2 Replies
400 Views
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
Posted Last updated
.