3 Replies
      Latest reply on May 10, 2018 11:29 AM by tom-715
      tom-715 Level 1 Level 1 (0 points)

        We're using the HKHealthStore startWatchAppWithWorkoutConfiguration:completion: method to start a workout on the Apple Watch in response to user interaction on the iPhone, but we are finding that the ExtensionDelegate handleWorkoutConfiguration: method is not always called in a timely way - for example, the method may not execute until the watch is explicitly woken, 30-60 seconds after the initial call on the iPhone. This happens fairly frequently, but there doesn't seem to be a pattern to it.

         

        Because it hasn't completely failed, our completion block is not executed on the phone, so we have no way to know that this is occurring, other than the fact that the workout doesn't start.

         

        Does anyone have any insight? Our Watch app is already running on the Watch when we see this problem - if the app needs launching then it seems to be OK.