swift - watch 屏幕关闭时,Complication 能否访问 Healthkit?

标签 swift watchkit core-motion watchos-2 healthkit

如果 watch 屏幕关闭并且发生周期性的 Complication 重新加载,是否可以访问 HealthKit? CMPedometer 怎么样?

最佳答案

是的,在定期更新期间,复杂功能应该可以访问来自两个框架的数据。

关于swift - watch 屏幕关闭时,Complication 能否访问 Healthkit?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33446271/

相关文章:

ios - 使用默认后退按钮时 Unwind 方法不起作用

ios - 使用 Swift 和 Parse 获取 Facebook UserData 时出现 fatal error

ios - 无法在 WatchKit 中设置自定义字体

iphone - Core Motion的传感器融合算法是否利用了卡尔曼滤波器?

ios13 - 计步器仅在 iOS 13 中无法在后台模式下工作

iOS 12.2 : CMMotionManager is blocking the main thread

ios - 使用 'MKMapView' 显示多个位置

ios - UINib initWithNibName 在应用加载前崩溃

ios - 错误 : "Message reply took too long" sending message to device Watch kit OS 2

ios - 如何在WKInterfaceLabel下面放置一个WKInterfaceLabel?