Hello. So as we all know, Apple introduced WidgetKit in WWDC20. Of course I instantly integrated it into my app, everything works fine, except one thing.
When I save data to @.AppStorage (also new), it updates fine in the app. However when I close the app, it takes 1-2 secs for the widget to show the correct data. Is there any way I can speed up the process? I'd love instant widget refreshing.
P.S. To have my data between my app and my widget, I use suiteName and App Groups.
I'm testing this in the Xcode Simulator, iPhone SE 2nd gen, iOS 14 Dev Beta 2.
Xcode version — Xcode 12 Dev Beta 2.
Host — macOS Big Sur Dev Beta 2.
When I save data to @.AppStorage (also new), it updates fine in the app. However when I close the app, it takes 1-2 secs for the widget to show the correct data. Is there any way I can speed up the process? I'd love instant widget refreshing.
P.S. To have my data between my app and my widget, I use suiteName and App Groups.
I'm testing this in the Xcode Simulator, iPhone SE 2nd gen, iOS 14 Dev Beta 2.
Xcode version — Xcode 12 Dev Beta 2.
Host — macOS Big Sur Dev Beta 2.