hkhealthstore Questions

2

I'm reading user's health data using HealthKit. Trying to get the timezone information from Health data to identify on which exact timezone the health activity has happened. For this, I'm depending...
Kinescope asked 13/3, 2018 at 7:57

1

Solved

Using HealthKit, I am saving below data: Workout Active Energy Distance I am deleting workout using below code: self.healthStore?.delete(workout, withCompletion: { (status, error) in But abo...
Wolfort asked 9/5, 2019 at 8:55

5

I'm using the following Swift code. let sampleType : HKSampleType = HKSampleType.quantityTypeForIdentifier(HKQuantityTypeIdentifierHeartRate) let nowDate: NSDate = NSDate() var calendar: NSCalenda...
Selfoperating asked 10/9, 2015 at 4:50

2

Solved

I am using AppleHealthKit in my application. Everything is working correctly. The problem is that I am not able to detect if the user taps "Don't Allow" button when asking for permission. With t...
Sandor asked 6/8, 2016 at 7:59

1

Solved

My Swift iOS app connects with HealthKit to show the user how many steps they have taken so far in the day. For the most part, this is successful. When the sole source of steps is steps recorded by...
Vermicelli asked 11/4, 2016 at 22:25

2

Solved

I am writing a simple app to monitor the heart rate (HKQuantityTypeIdentifierHeartRate) from HealthKit whenever a new health rate value is written to HealthKit. As seen at WWDC2015 (session 203) I...
Beside asked 28/10, 2015 at 22:42

4

Hello I'm trying to setup the health store observer with background delivery enabled. My problem is that it won't deliver anything when the screen is locked. I have simplified my code for this ques...

2

Solved

We're currently trying to get HealthKit to work in the background, in order to deliver steps data to our server when the App is closed. For experimental purposes we've created a brand new iOS proj...
Kalvin asked 21/12, 2014 at 20:22

1

Solved

I want to pull HealthStore data in the background using background fetch but I keep getting an error: Error Domain=com.apple.healthkit Code=6 "Protected health data is inaccessible" UserInfo=0x1702...
Milliary asked 20/5, 2015 at 21:52

1

Is there any REST API support for health data by Apple? I know healthkit api helps to send and receive data from apple health data store but it is very much restricted to ios apps. What i am...
Mccluskey asked 24/12, 2014 at 7:34
1

© 2022 - 2024 — McMap. All rights reserved.