I want to refresh the content in the stacked component in watch, but when I call WidgetCenter.shared.reloadTimelines to update, there is no guarantee that the content in the component can be refreshed in real time every time. Is this expected? Is there any other way to refresh in real time?
Widgetkit cannot refresh watch stack components in real time
Yes, that is expected, and is documented in Keeping a widget up to date.
The documentation does list some cases where reloads are not counted against the budget though. If you share your concrete use case, I'll see if I have more comments, but in general, WidgetKit isn't designed to support real-time refresh, and so you might re-consider your app design to avoid the need.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.