healthkit Questions
0
I am trying to use heartRateVariabilitySDNN. I successfully get heartRate by query and I use the following code for getting heartRateVariabilitySDNN but have no idea how it works. Also there is no ...
3
Solved
I've got an app whose main purpose is to enter data into HealthKit. I'd like to write some Xcode UI tests to verify that it's writing this data successfully, but I'm having some difficulty verifyin...
Monamonachal asked 15/1, 2016 at 21:33
7
I am having a hard time to get HealthKit working for my iOS App. I have done all the steps I have found so far and none seem to solve my problem I keep getting this error when trying to authorize H...
2
Solved
How can I get the most recent weight entry from healthkit data?
My code is only returning the first weight entry ever recorded.
Is is possible to get only the last entry recorded without specifyi...
2
I need to query HKStatistics for average heart rate, with Swift 2.2. I've learned from research the parameter I need is HKStatisticsOptionDiscreteAverage
I have code for the workout session. How c...
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
I am trying to get and update height from Healthkit but not getting any document for swift 3.
Is there any way to get height from healthKit also to update height in healthKit?
1
I am working on an app that uses health data from the iOS HealthKit SDK, and I of course want to have a duplicate of that data for my own server-side analysis. I know that you can't save HealthKit ...
Fervidor asked 17/9, 2015 at 3:51
5
Solved
Here is code for saving blood pressure data in health kit
HKUnit *BPunit = [HKUnit millimeterOfMercuryUnit];
HKQuantity *BPSysQuantity = [HKQuantity quantityWithUnit:BPunit doubleValue:150.0];
...
1
Solved
I'm writing my own fitness app that I hope to bridge the void between the Fitbit app and Apple Health (I finally ditched my Blaze for an Apple Watch). So far I am able to retrieve the workouts for ...
1
I do not know how can i get the "Date Added to Health" ? I can not find some info about the "Date Added to Health" from HKSample.
Anyone can help me ?
HKSample : HKObject
open var sampleType: H...
Tswana asked 29/12, 2016 at 7:28
3
I am using iOS 9 beta 4 and watchOS 2 beta 4.
I can't seem to get any heart rate data when the watch screen turns black (locks). I will get a call to applicationWillResignActive and then the heart...
Assent asked 5/8, 2015 at 11:3
1
I'd like to access the live heart rate at in my apple watchOS app. In the keynote they emphasized that developers can access the live data now. But I can't find anything about it in the documentati...
1
Solved
I'm using Xcode 8 beta 6 and I'm requesting access to the Health App. The method requestAuthorization(toShare:read:completion:) which asks for authorization always produces a true when the completi...
Genethlialogy asked 30/8, 2016 at 17:6
1
Solved
I can't get any calories/activeEnergyBurned to show up in my app, and don't know why?
WorkoutInterfaceController:
private func totalCalories() -> Double {
return totalEnergyBurned.doubleValue...
1
Solved
I need to implement a WatchKit force-touch MenuItem to call a saveWorkout() method that is located in a separate class that does not subclass WKInterfaceController.
I realize that every class needs...
1
Solved
Building a HealthKit/WatchKit app based off WWDC 2015 - Session 203.
There is no source code so I am writing it on the fly. There is a method I am having difficulty with since they don't discuss i...
2
Solved
My application currently lets users save WaterIntakeRecords and they are then persisted with Core Data. I am able to write to HealthKit, saving a water intake record as a HKQuantitySample.
I add ...
Nonesuch asked 10/3, 2016 at 17:1
2
Solved
Using iOS 10, first beta, HealthKit authorization crashes.
With code that was running with iOS 9.x (except that I changed to Swift 3)
even the most simple authorization crashes:
func authorizeHea...
0
I am looking for a smart way to import ALL data for ALL time from HealthKit in a smart way for high volume users who log certain HealthKit values hundreds of times a day for months or years. I'm al...
Almsgiver asked 29/4, 2016 at 18:11
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
1
I have a watch kit app that tries to request HealthKit permission from the interface controller on Apple watch, however when I run the app I am never asked for permission and the app defaults to no...
2
Health App displays a Watch icon when the source was an Apple Watch.
I'd simply like to get the same information that the Health App is using to determine the type of source. HKSource doesn't see...
Blount asked 29/6, 2015 at 7:37
1
Solved
Using HealthKit, I am saving
A Workout
Corresponding Active Energy Samples
Corresponding Walk/Run distance samples
I'm running the same code on the apple watch and on the iPhone.
When I'm savi...
Goatish asked 22/2, 2016 at 21:58
1
Solved
The Medical ID is a vital and potentially lifesaving feature of iOS 8+, but it is underutilized. I'm building a custom healthcare app with Swift 2 which contains a list of emergency preparation ste...
Freitag asked 17/2, 2016 at 22:49
© 2022 - 2024 — McMap. All rights reserved.