Post

Replies

Boosts

Views

Activity

watchOS App Pushed to Foreground After Workout
I built a workout app for watchOS. After finishing the workout, I'm noticing that the system repeatedly pushes the app to the foreground, even if I push the app to the background after the workout. It is unclear why this is happening. I followed Build a workout app for Apple Watch and I correctly finish the workout as far as I'm aware, with no errors being throw by the system or HealthKit. What could be causing this behavior? In other words, in what scenario does the system push an app to the foreground (after completing a workout)? Note that I'm not using WorkoutKit, just HealthKit. I tested this on a physical device, Apple Watch Series 8, running watchOS 9.6.
1
0
657
Jul ’23