HKLiveWorkoutBuilder restore

I am restoring the HKWorkoutSession using:


healthStore.recoverActiveWorkoutSession


But how I can restore the HKLiveWorkoutBuilder?

I found the solution:


HKWorkoutSession.associatedWorkoutBuilder().seriesBuilder(for: .workoutRoute()) as? HKWorkoutRouteBuilder
HKLiveWorkoutBuilder restore
 
 
Q