Widgets without timeline on WatchOS

TLDR; Can I have a widget without a Timeline?

My previous watch app had a complication. Simply so it can be added to the watch face for a quick launch of the app. However now seeing that method is deprecated in favour of widgets. Can I add a widget without the need for all the Timeline as all I want is a button on the watch face to launch into my app. No data is updated over time so no need for all the extra timeline code.

I think you'll now need to implement the TimelineProvider calls but you can just return a SimpleTimelineProvider entry and ignore the content when creating the SwiftUI view for your app icon.

Have a look at the Apple sample code from the WWDC22 talk Complications and widgets: Reloaded

Widgets without timeline on WatchOS
 
 
Q