I am working on the health kit. Before iOS15 below code is working correctly I am getting vitals on an hourly basis but in this latest version, I am n ...
I am working on the health kit. Before iOS15 below code is working correctly I am getting vitals on an hourly basis but in this latest version, I am n ...
I have looked through so much Apple documentation and SO questions but still can't figure out why or even if this should work. I have a long running ...
Users of this app can choose whether they would like to use Healthkit features (they are not necessary for the app to work). I would like to set up an ...
I am building an app which is supposed to listen to changes in HealthKit regarding newly added heart rate data using HKObserverQuery but weirdly the o ...
I need to observe the heart rate data in Healthkit and then send a notification to the user accordingly. The code is working fine, but every time I ha ...
I'm working with HealthKit SDK on my app(it's related to Health). I set up 'enableBackgroundDelivery', expecting iOS to wake up my app whenever there ...
Right now, I'm trying to set up my app so that a function is called when the user updates their step count. So far, I have the following code: Howe ...
So according to Apple, I need to call the HKObserverQueryCompletionHandler after the updateHandler is triggered from data being added to HK. But as s ...
When trying to set an observer query for Healthkit, for a lot of users I'm getting an error of Authorization not Determined. After researching for a ...
So I've been following the instructions in this answer... Healthkit background delivery when app is not running The code runs fine and works whilst t ...
I want to gather heart rate data from Apple watch to iPhone immediately, but even though I follow the Apple's document, I found the HKAnchorObjectQuer ...
I have been trying to query HealthKit for the number of steps on my phone. Here is what I have tried: As a result of this, stepsLabel is now displa ...
I use HKObserverQuery and background delivery in my iOS application. In the updateHandler of HKObserverQuery I execute a query (HKAnchoredObjectQuery) ...
HKObserverQuery has the following method that supports receiving updates in the background: The updateHandler has a completionHandler which has the ...
Hope this question doesn't sound too silly, but I haven't been able to find a solution yet. I'm currently writing an app using Xamarin that integrates ...
I have an issue I'm trying to solve, I've setup an HKObserveryQuery, which works great and gathers new data for me. The issue however is that someti ...