Post

Replies

Boosts

Views

Activity

Comment on UserDefaults.standard setValue forKey crash on iOS 15 only.
Good news is that it does seem fixable. We created our own (slightly feature-limited) drop-in replacement for AppStorage, using PMKVObserver to handle the KVObservations in a thread-safe way, and it works fine. Feels like something Apple should hopefully be able to fix without too much trouble, and we have a solution that we believe will work for us until then.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23