Post

Replies

Boosts

Views

Activity

Reply to Background Health Store Access for Lock Screen Widgets
I've asked Apple Support this question about 1,5 year ago and what you would need to do is: Add the "Data Protection" capability to the main app (so not the Widget extension) Add “com.apple.developer.default-data-protection” entitlement key with value “NSFileProtectionComplete” to the widget target. That way the widget will only request new timelines when the data is available (not protected) and you’ll no longer get errors. If a reload of data would be requested when the device is locked, it will be executed when the device unlocks. Just like Apple's activity rings Lock Screen Widget. Hope this helps and is what you're looking for!
Jun ’24
Reply to Background Health Store Access for Lock Screen Widgets
Hope it helped and got you (partially) what you’re looking for! I’m not sure you can always show and update the Health data whether the device is locked or not. As far as I know and understood the HealthKit database is locked when the device is locked. You could show a cached version of your latest data. That way you at least show something, unlocking the device will often update it. Still not a 100% what you’re looking for I guess, so if you do find a solution please let me know! :)
Jun ’24
Reply to Background Health Store Access for Lock Screen Widgets
I've asked Apple Support this question about 1,5 year ago and what you would need to do is: Add the "Data Protection" capability to the main app (so not the Widget extension) Add “com.apple.developer.default-data-protection” entitlement key with value “NSFileProtectionComplete” to the widget target. That way the widget will only request new timelines when the data is available (not protected) and you’ll no longer get errors. If a reload of data would be requested when the device is locked, it will be executed when the device unlocks. Just like Apple's activity rings Lock Screen Widget. Hope this helps and is what you're looking for!
Replies
Boosts
Views
Activity
Jun ’24
Reply to CloudKit subscriptions, sharing, and remote notifications
Running into this exact problem currently. Have you ever been able to solve this challenge @digitalglen ?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Background Health Store Access for Lock Screen Widgets
Hope it helped and got you (partially) what you’re looking for! I’m not sure you can always show and update the Health data whether the device is locked or not. As far as I know and understood the HealthKit database is locked when the device is locked. You could show a cached version of your latest data. That way you at least show something, unlocking the device will often update it. Still not a 100% what you’re looking for I guess, so if you do find a solution please let me know! :)
Replies
Boosts
Views
Activity
Jun ’24
Reply to Can you match a new photo with existing images?
Got it to work with both just taking a picture and using an AVCaptureSession. Do have to see whether or not this framework is good enough for my purpose, but thanks for pointing me to this project. It's really helpful!
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to RecognizeDocumentsRequest for receipts
I’m not sure if Apple Intelligence can help out here without it being able to take image itself in. Will give it a try though, let’s see what it might come up with. Thanks for the replies and suggestion.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’25