Post

Replies

Boosts

Views

Activity

Comment on WidgetKit complications won't update
BTW, if you attach a debugger to your Widget Extension process it will update properly. Try it, and you will quickly validate whether stale data is your issue or not. Run your app on simulator, add your widget to Home (or Lock) screen, and then go to Debug -> Attach To Process and select your Widget Extension process (it should be listed on top at the "Likely Targets" section). https://mastodon.social/@brianmueller/111026274124701811
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Comment on WidgetKit complications won't update
Not sure about your project, but in my case problem wasn't stale data in UserDefaults (App Group), but rather the fact, that widget TimelineProvider is not called to update widget data. I never experienced stale data during development or testing, so I highly double that you have that in your project 🤓
Topic: App & System Services SubTopic: General Tags:
Sep ’23