是否需要在View Controller中停止HKQuery
我想知道如果长时间运行的HKQuery(不包括HKObserverQuery)需要调用HealthStore.stop HealthStore.stop()
,或者系统自动清理它。
如果你确实需要手动停止它们,是否deinit
了vc最好的地方呢?
- HealthKit(iOS)不会在后台传递数据(objC)
- 如何使用Apple HealthKit获得每日睡眠时间?
- 健康包HKAnchoredObjectQuery在iOS 9不返回HKDeletedObject
- 为什么HKAnchoredObjectQuery和enableBackgroundDeliveryForType总是在应用程序处于后台时触发?
- 从HealthKit获取一系列血糖logging
- HealthKit Watch应用程序没有logging卡路里
- 如何从Apple Watch获取传感器数据到iPhone?
- HealthKit Swift获取今天的步骤
- HealthKit HKAuthorizationStatus读取数据