Post

Replies

Boosts

Views

Activity

IOS 17 UserDefaults doesnt work as intented sharing data beetween app and widgetkit
Hi, I have an app that contains widgetkit elements. I have appgroup and everything used work fine before ios 17 and xcode 15 I was using suitname pattern like group.MY_TEAM_ID.com.xxxx.xxxxx and there was no problem with it. now xcode 15 complains like Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd. when I change suitname group.com.xxxx.xxxxx or any other suitname. I see data saved to userdefaults but reading data from widget site returns nil all the time.
2
2
1.5k
Sep ’23
IOS 17 UserDefaults doesnt work as intented sharing data beetween app and widgetkit
Hi, I have an app that contains widgetkit elements. I have appgroup and everything used work fine before ios 17 and xcode 15 I was using suitname pattern like group.MY_TEAM_ID.com.xxxx.xxxxx and there was no problem with it. now xcode 15 complains like Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd. when I change suitname group.com.xxxx.xxxxx or any other suitname. I see data saved to userdefaults but reading data from widget site returns nil all the time.
Replies
2
Boosts
2
Views
1.5k
Activity
Sep ’23