At the moment I am working on a running app for the iPhone.
One issue that I have is, that I am building the HKWorkout using the HKWorkoutBuilder according to Apples Documentation.
But I am not able to associate the totalDistance with the workout – mentioned here in the Documentation. totalDistance is nil when I try to read it from the workout – no surprise.
I think I miss something here. Thanks in advance.
One issue that I have is, that I am building the HKWorkout using the HKWorkoutBuilder according to Apples Documentation.
But I am not able to associate the totalDistance with the workout – mentioned here in the Documentation. totalDistance is nil when I try to read it from the workout – no surprise.
I think I miss something here. Thanks in advance.