Post

Replies

Boosts

Views

Created

Apple Fitness - Change what value gets shown in the Workouts List
Me and my team are currently working on a standalone watchOS App, where we are tracking workouts with HKLiveWorkoutBuilder. Just before calling the finishWorkout(completion:) method that saves the workout into the HKHealthStore we are saving some metadata when necessary to the workout. However, we would also like to change the green value in the Fitness App that defaults to the workout duration to active/total KCAL. The green value is displayed in the iOS' Fitness App list of the workouts just under the workout name. We have also done some research on the AppStore and there is at least one 3rd party app whose saved workouts actually show the KCAL in the Fitness App's overview, therefore it seems like there is some way around it. Unfortunately we were unable to find matching HKMetadataKey in the Apple docs, nor could we find any other possible solution. We will be very grateful for any tips! Stay safe :)
2
0
674
May ’21