HKWorkoutActivityType.swimming
The constant for swimming.
Declaration
case swimmingMentioned in
Discussion
If your app uses the HKWorkoutActivityType.swimming or HKWorkoutActivityType.other activity type, you must explain how your app calculates workout data when sensor information is not available. For more information, see the Human Interface Guidelines. HealthKit provides optimized calorie calculations for this activity based on the data from Apple Watch’s sensors.