Christian Selig on Nostr: What's the recommended way in a widget to check if protected data is available? ...
What's the recommended way in a widget to check if protected data is available? `UIApplication.isProtectedDataAvailable` is bizarrely missing from widget contexts, surely we're not supposed to just "try to write to protected storage and see if it fails”?
Published at
2025-01-09 16:08:21Event JSON
{
"id": "66f8f15b715a5c75235b56e6c978c4c9a32c312d7764f9d247a2f2080c787235",
"pubkey": "de6adda4d139627ce8f9cf05ef27c7cd1de9895363e5f303667f761bec318716",
"created_at": 1736438901,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/christianselig/statuses/113799259837080687",
"activitypub"
]
],
"content": "What's the recommended way in a widget to check if protected data is available? `UIApplication.isProtectedDataAvailable` is bizarrely missing from widget contexts, surely we're not supposed to just \"try to write to protected storage and see if it fails”?",
"sig": "a487cf211c9ab24376d16737e3482f6983d33724f81c4937386ad08f95347989d4163a73725c4433e741064a885935cc768ac006767cbca635ddc8ee70db2d4d"
}