Is there any technique to re-render iOS 14 widget content when I scroll to my home screen (contain my widget)?
To clarify, this is Home screen of iOS 14 where you can place any widget on. It's not the today extension that appeared in the very left Home screen.
I haven't found any document about this technique! All I know is using Timeline to schedule the rendering, and refreshWidget(widgetKindHere)
Currently, I'm using IntentTimelineProvider to make updating schedule, keep my stock widget up to date frequently for every 30 minutes
But as I can see the TradingView's widget:
When I scrolled to my home screen contain its widget, the last updated info on the widget changed from 12:00pm to 2:55pm (current)
-> That mean they did not update their widget from 12pm to 2:30pm, until I scrolled to the Home screen contain the widget, a few seconds later, it get updated at 2:55pm
How can TradingView did that?