![]() |
1
XDiLa 34 天前
我用的华为运动健康 在 iOS 在需要长驻后台才可以监听心率, 血氧需要你主动出发测量他才会有数据。如果主动删除了华为运动健康 那么就没数据了。之前不习惯,后面慢慢也习惯了。毕竟不是 IOS 原生的没办法
|
3
shijieheping 34 天前 via iPhone
@XDiLa 哥们,想问下你 ios 华为运动健康咋后台常驻的?
|
4
okakuyang 34 天前
播放无声音乐或者连接蓝牙设备
|
![]() |
5
eternityz 34 天前 ![]() ```
HealthKit data is not available while the device is locked. You can start your HKObserverQuery while locked, but you will not receive callbacks and, if you are using background delivery, your app will not be launched for new data until the device unlocks and the Health database is available. ``` https://developer.apple.com/forums/thread/694223 |
![]() |
6
XDiLa 33 天前 ![]() @shijieheping 抱歉 应该是我说的有问题, 我就是打开华为运动健康 APP 然后从底部切换出去 让他一直在后台就行了。是我描述的有问题。iOS 没法像安卓一样冻结后台运行。是我的表述影响了
|