Calories in iOS 16 and whether its only through steps.

Hi

iOS 16 onwards iPhones will also calculate energy burned. Is ActiveEnergyBurned the unit for that?

My app specifically calculates energy burned through steps. As per the documentation I think ActiveEnergyBurned is a measure of energy even through other exercises.

Can someone through some light?

Thanks.

Answered by Frameworks Engineer in 722366022

Yes, ActiveEnergyBurned is the data type for active calories in HealthKit. Without Apple Watch, an iPhone can compute ActiveEnergyBurned based on the sensor information that it has available to it. While that same sensor information is also used to compute steps, the two happen together rather than one being based on another.

Accepted Answer

Yes, ActiveEnergyBurned is the data type for active calories in HealthKit. Without Apple Watch, an iPhone can compute ActiveEnergyBurned based on the sensor information that it has available to it. While that same sensor information is also used to compute steps, the two happen together rather than one being based on another.