HealthKit help

Discussion in 'iOS Programming' started by dazcox5181, Jul 10, 2018.

  1. dazcox5181 macrumors 6502

    Jun 12, 2005
    Essex, UK
    I’m learning swift / iOS development and was experimenting with HomeKit, specifically trying to read data into an app specifically, current step count for day and calories burned (active + basal)
    I’ve had some success getting data out, but it’s in a HKSample type and I’m not sure how I process this - if I print to the console it’s a long string with a lot of data I’m not interested in.
    Is there a good tutorial anywhere that still works? Everything I find seems to be outdated

Share This Page