Recovers an active workout session.
- watchOS 5.0+
If your app crashes during an active workout session, the system calls your extension delegate’s
handle method the next time your app launches. To recover the workout session, call
recover from your extension delegate’s
handle method. HealthKit then attempts to restore the previous workout session, returning either a new session object or an error to the completion block.
As soon as you receive the session object, you must access its builder and set up your data source and delegates again, as described in Start a Session.