Why is the number of steps per day slightly different depending on the app? – Why can’t I hear it now?

More and more apps have the so-called pedometer function. Rather than a single function pedometer, the management of the movement history in conjunction with the time and location information, to health management to record the weight and calories taken together, the game of the goal clear when you reach 10,000 steps a day, and various apps that use the number of steps has appeared.

The “number of steps”, but some difference occurs by the app even though it was used in the exact same conditions, there is a situation that. Even if you install two apps with pedometer function on the same iPhone, app A is 9,800 steps and app B is 9,790 steps and there is a possibility that rose out in the condition that one day.

There are several reasons, but different apps may get step data differently. In the iPhone 5s and later models, the built-in coprocessor (an integrated circuit specializing in processing in certain areas) continues to measure and record the movement of the iPhone, but there will be some difference if the recorded data is retrieved in different ways.

When an iOS app retrieves step data, many of it refers to either coremotion (CMPedometer function) or HealthKit framework. Both calculate the number of steps based on the data from the internal coprocessor, but the data is a floating-point type and may make a difference depending on the rounding of integers. It’s difficult to completely eliminate the difference between apps, because the difference between the start and end times makes a difference.

There’s no way for end users to figure out which framework your app refers to, and sometimes there’s no difference in the number of steps you’ll see, but the iPhone has a genuine app called Healthcare. Based on the assumption that the number of steps displayed in this app is accurate, it will be helpful to know which app steps to take.

The number of steps is slightly different depending on the app.