Tutorials about Apple Watch Workout app development with WatchKit, SwiftUI, HealthKit, CoreLocation and other related watchOS frameworks.
Making a countdown animation for your workout app is really not that different than any other SwiftUI based animation you might do.
But, we have to start somewhere
In this article we'll learn how to animate a countdown by manipulating how we set countdown
. The built-in animations won't work because we can't get them to change text along with the ring, so we'll to do something a little more manual.
The user's running distance, heart rate, and calories expended are only available if you get permission beforehand. You also need permission to save Workouts in HealthKit so that they will show up in the Fitness app or be readable by other apps.