Instance Method

handleActiveWorkoutRecovery

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

Declaration

- (void)handleActiveWorkoutRecovery;

Discussion

To recover from a crash, call your HealthKit store’s recoverActiveWorkoutSessionWithCompletion: method to receive a new workout session. You can then set up your data source and delegate as described in Start a Session.

See Also

Handling a Workout Session

- handleWorkoutConfiguration:

Tells the delegate that the user started a workout session on the paired iPhone.