Get calories burned overnight from Health Kit

前端 未结 1 751
名媛妹妹
名媛妹妹 2021-01-24 16:00

I use this function to get calories burned from Health Kit after syncing with RunKeeper

func getActiveEnergy(currentDate: Date ,completion: @escaping ((_ totalEn         


        
相关标签:
1条回答
  • 2021-01-24 16:26

    sovlved the problem with the link below: https://developer.apple.com/reference/healthkit/hkstatisticscollectionquery

    0 讨论(0)
提交回复
热议问题