WorkoutKit updates
Learn about important changes to WorkoutKit.
Overview
Browse notable changes in WorkoutKit.
June 2024
Custom swim workouts
Create custom pool swimming workouts with the HKWorkoutActivityType.swimming activity.
Set a distance-with-time goal for custom swimming workouts with the WorkoutGoal.poolSwimDistanceWithTime(_:_:) goal.
General
Provide a custom name to a workout step using the WorkoutStep structure’s displayName.
Preview workouts on Apple Watch using the workoutPreview(_:isPresented:) view modifier.
Set average power goals for cycling and running with PowerThresholdAlert and PowerRangeAlert.
Set pace goals for indoor running with the SpeedThresholdAlert and SpeedRangeAlert targets.
See Also
Technology and frameworks
Accelerate updatesAccessibility updatesActivityKit updatesAdAttributionKit UpdatesApp Clips updatesApp Intents updatesAppKit updatesApple Intelligence updatesAppleMapsServerAPI UpdatesApple Pencil updatesARKit updatesAudio Toolbox updatesAuthenticationServices updatesAVFAudio updatesAVFoundation updates