How to use WCSession to update WidgetKit?

I have a project on watchOS with Complications.

Right now it works like this in ClockKit, when the app is not running on the watch, transferCurrentComplicationUserInfo the method is utilized to manage the transfer of user information. This involves the ComplicationController being launched by the system, which then initiates the WCSession to receive data and update complications.

My issue:

How should I implement a real-time update of complications transferCurrentComplicationUserInfo does not guarantee that my app will be launched by the system with widgetKit.

1 Like