作者NuclearSnake (NuclearSnake)
看板iOS
标题[问题] 萤幕锁定时捷径提醒发生错误
时间Tue Oct 6 12:11:05 2020
系统版本:14.0.1
在解锁情况下 提醒可以正常显示健康资料
https://i.imgur.com/wahl327.png
想要把这个提醒加到自动化排程
但在萤幕锁定的情况下
会出现下面这个错误画面
https://i.imgur.com/mwQnTxX.png
要如何让提醒能在锁定画面下正常显示健康资料呢?
谢谢
-
查到这个网页
https://stackoverrun.com/cn/q/8352128
里面提到
Because the HealthKit store is encrypted, your app cannot read data from the store when the phone is locked. This means your app may not be able to access the store when it is launched in the background.
目前似乎无解了
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.236.103.78 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/iOS/M.1601957467.A.9A4.html
※ 编辑: NuclearSnake (36.236.103.78 台湾), 10/06/2020 16:53:03
1F:推 supremexiii: 遇到同样问题,只能暂时用纯文字输出,等官方修复 10/07 12:23
4F:→ supremexiii: 折衷办法是把健康的资料存在iCloud 再读取 10/07 14:25