Posts

Post marked as solved
1 Replies
0 Views
So it turns out we are on our own here. There are many ways calories burned can be calculated. One way is using the MET equation. Neerav
Post marked as solved
2 Replies
0 Views
I was selecting New Xcode Project>(Multi platform)App instead of ...>(iOS) App. Now I see the options!
Post not yet marked as solved
2 Replies
0 Views
Few more things... Moved the project folder from iCloud folder. Learnt that Lists have this issue. Tried with other view but same problem. CPU usage goes 100% CPU usage remains 100% until Xcode is quit from background. Loading preview also takes a lot of time.
Post not yet marked as solved
2 Replies
0 Views
No one facing a similar issue?
Post marked as solved
1 Replies
0 Views
I found out why these methods were not called. There is a separate class for scene delegate. methods inside the SceneDelegate.m are called properly.
Post not yet marked as solved
2 Replies
0 Views
i am still stuck here.
Post not yet marked as solved
17 Replies
0 Views
The path I took was to dispatch asynchronously on the main thread a notification which would carry the data on a dictionary.
Post not yet marked as solved
1 Replies
0 Views
I couldn't get the answer to this even on Quora. I opened a support instance with apple and turns out I was incrementing the index that would set the size of the C array to by one more than required which resulted into polylines being drawn from co-ordinates (0.0, 0.0).
Post not yet marked as solved
3 Replies
0 Views
Hi Frameworks Engineer, I have made a predicate that queries for health data for the start and end time of workout. Then I start an observer query for the same predicate. When I get a result, how do I co-relate it to the workout sample? Example, person walks from 7am to 7.20 am. My predicate sets 7 am of the same day as start date and 7.20 pm as end date. Now I run an observer query with this timings. When I get the result I want to associate it with the corresponding workout sample. If we assume the user takes a walk or a run just once it is easy but he might do it twice a day and associating it with a sample that is returned at the end of the day after both workouts are over seems like a puzzle. So... Saving the workout starts an observer query for 3 types of health kit samples. When the observer is called, i get the results for the given predicate. Now how do i associate it with the workout object. FYI, I am Not using HKWorkout object for now. I have a coredata entity that saves my workout info. I was thinking of checking out the times of the first and the last object in the results to see if they are within the time period of any workout (which hasnt been flagged as update) and then updating and saving the sample to the workout. I think i can do this even with an hkworkout object. Can u pls guide me?
Post not yet marked as solved
3 Replies
0 Views
I have planned to use the HKWorkout class for this but if iOS doesnt return the activeEnergy count immediately after the workout its useless. Can someone please guide me on this one?
Post not yet marked as solved
1 Replies
0 Views
I have accuracy set to kCLLocationAccuracyBestForNavigation On and i tried out MKMarkerAnnotationView. I see markers very spaced out instead of a continous trail and they arent accurate either. Note- my iPhone’s bluetooth is not working (since kCLLocationAccuracyBestForNavigation Also uses other sensors)
Post not yet marked as solved
3 Replies
0 Views
In Short, I want a predicate that searches the stepsSampleArray for steps from 00:00:00hrs current date to 11:59:59 hrs current date.
Post not yet marked as solved
3 Replies
0 Views
I found a method in HKQuery abstract class and I tried all the three combinations of Options but it gives me different results each time... NSPredicate *daySearchPredicate = [HKQuery predicateForSamplesWithStartDate:historyDate endDate:historyDate options:HKQueryOptionNone];