Contents

handleActiveWorkoutRecovery()

Tells the delegate when the app relaunches after crashing during an active workout session.

Declaration

optional func handleActiveWorkoutRecovery()

Discussion

To recover from a crash, call your HealthKit store’s recoverActiveWorkoutSession(completion:) method to receive a new workout session. You can then set up your data source and delegate as described in Running workout sessions.

See Also

Related Documentation

Handling a workout session