Post

Replies

Boosts

Views

Activity

WidgetKit and older iOS versions
Hey, I am trying to create an iOS App for multiple versions, but i need to refresh my widget with WidgetCenter.shared.reloadAllTimelines() after I added a new data entry inside of my main app. I dont know why, but this doesnt work for me, (the app crashes) so I tried to use NotificationCenter. After I realized that NotificationCenter can't communicate between the main app and an extension, I tried to use UserDefaults. But this doesnt work for me as well. Pls help me I'm desperate.
3
0
1k
Aug ’20