CMPedometer queryPedometerData() return wrong steps countCMPedometer queryPedometerData() returning 0 steps when steps existIs it possible to use core motion for distance measurementCMPedometer queryPedometerDataFromDate returns error 103CMPedometer reset permissionsGetting wrong steps history from CMPedometerIncorrect endDate in CMPedometerDataHow to get CMPedometer data in Step by Step count?fetchedResultsController returns nilCMPedometer Steps not Available . why?CMPedometer warn not counting steps on iPadIncreasing update rate of CMPedometer

Worms crawling under skin

Why is there is no screening for Ovarian Cancer?

Did Apollo carry and use WD40?

Why does NASA publish all the results/data it gets?

What are these pixel-level discolored specks? How can I fix it?

Do the villains know Batman has no superpowers?

Should I complain to HR about being mocked for request I made

What is the lowest voltage that a microcontroller can successfully read on the analog pin?

Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?

What are these ingforms of learning?

Where does an unaligned creature's soul go after death?

An Algorithm Which Schedules Your Life

Are there non JavaScript ways to hide HTML source code?

As an employer, can I compel my employees to vote?

Do things made of adamantine rust?

I feel like most of my characters are the same, what can I do?

How to manage expenditure when billing cycles and paycheck cycles are not aligned?

Is this a Sherman, and if so what model?

Where Does VDD+0.3V Input Limit Come From on IC chips?

I reverse the source code, you negate the output!

1, 2, 4, 8, 16, ... 33?

What happens if nobody can form a government in Israel?

Is it more effective to add yeast before or after kneading?

Guitar tuning (EADGBE), "perfect" fourths?



CMPedometer queryPedometerData() return wrong steps count


CMPedometer queryPedometerData() returning 0 steps when steps existIs it possible to use core motion for distance measurementCMPedometer queryPedometerDataFromDate returns error 103CMPedometer reset permissionsGetting wrong steps history from CMPedometerIncorrect endDate in CMPedometerDataHow to get CMPedometer data in Step by Step count?fetchedResultsController returns nilCMPedometer Steps not Available . why?CMPedometer warn not counting steps on iPadIncreasing update rate of CMPedometer






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















CMPedometer queryPedometerData() method seems to be return wrong steps count. But I am not sure with all device. I think the reason from M7 motion coprocessor pedometer, ins't it?



Please check the log bellow:



2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:00 +0000
2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:00 +0000


Adding 10 seconds



2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:10 +0000
2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:10 +0000


And adding 12 seconds



2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:12 +0000
2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:12 +0000


My query:



pedometer.queryPedometerData(from: start, to: end) startDate (data.startDate) 


Something like that: CMPedometer queryPedometerData() returning 0 steps when steps exist










share|improve this question


























  • I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

    – Paul Gibson
    Apr 2 at 16:54

















0















CMPedometer queryPedometerData() method seems to be return wrong steps count. But I am not sure with all device. I think the reason from M7 motion coprocessor pedometer, ins't it?



Please check the log bellow:



2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:00 +0000
2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:00 +0000


Adding 10 seconds



2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:10 +0000
2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:10 +0000


And adding 12 seconds



2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:12 +0000
2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:12 +0000


My query:



pedometer.queryPedometerData(from: start, to: end) startDate (data.startDate) 


Something like that: CMPedometer queryPedometerData() returning 0 steps when steps exist










share|improve this question


























  • I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

    – Paul Gibson
    Apr 2 at 16:54













0












0








0








CMPedometer queryPedometerData() method seems to be return wrong steps count. But I am not sure with all device. I think the reason from M7 motion coprocessor pedometer, ins't it?



Please check the log bellow:



2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:00 +0000
2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:00 +0000


Adding 10 seconds



2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:10 +0000
2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:10 +0000


And adding 12 seconds



2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:12 +0000
2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:12 +0000


My query:



pedometer.queryPedometerData(from: start, to: end) startDate (data.startDate) 


Something like that: CMPedometer queryPedometerData() returning 0 steps when steps exist










share|improve this question
















CMPedometer queryPedometerData() method seems to be return wrong steps count. But I am not sure with all device. I think the reason from M7 motion coprocessor pedometer, ins't it?



Please check the log bellow:



2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:00 +0000
2019-03-28T22:16:43Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:00 +0000


Adding 10 seconds



2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00000 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:10 +0000
2019-03-28T22:18:39Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:10 +0000


And adding 12 seconds



2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00117 | startDate 2019-03-28 01:00:00 +0000 | endDate 2019-03-28 02:00:12 +0000
2019-03-28T22:18:08Z | ViewController | line: 147 | Steps 00870 | startDate 2019-03-28 05:00:00 +0000 | endDate 2019-03-28 06:00:12 +0000


My query:



pedometer.queryPedometerData(from: start, to: end) startDate (data.startDate) 


Something like that: CMPedometer queryPedometerData() returning 0 steps when steps exist







ios swift core-motion






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 17:38









Bhaumik

9131 gold badge6 silver badges17 bronze badges




9131 gold badge6 silver badges17 bronze badges










asked Mar 28 at 15:37









Hữu Thành LãHữu Thành Lã

11 bronze badge




11 bronze badge















  • I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

    – Paul Gibson
    Apr 2 at 16:54

















  • I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

    – Paul Gibson
    Apr 2 at 16:54
















I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

– Paul Gibson
Apr 2 at 16:54





I have seen this issue popping up on my health insurance fitness app. When I asked them about it they indicated that Apple has acknowledged a bug in core motion that occasionally results in dropped minute level step data (zero steps when steps certainly exist). This can be seen in different counts from the HealthKit data. I have not yet found anything about this from apple.

– Paul Gibson
Apr 2 at 16:54












0






active

oldest

votes














Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55401571%2fcmpedometer-querypedometerdata-return-wrong-steps-count%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55401571%2fcmpedometer-querypedometerdata-return-wrong-steps-count%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript