WKRefreshBackgroundTask - Update Sample Code and Improve Documentation for WKRefreshBackgroundTask Handling and Updating Complications

Originator:conrad.stoll
Number:rdar://27950334 Date Originated:22-Aug-2016 11:49 AM
Status:Open Resolved:
Product:watchOS SDK Product Version:watchOS 3
Classification:Enhancement Reproducible:Always
 
I think we need improved documentation and an updated sample code project that illustrates the correct flow of handling a refresh background task on Apple Watch and using it in order to update complications.

It’s not clear from the documentation, sample code, and WWDC sessions this year that you still should call the ClockKit complication server reload or extend timeline for complication methods in order to trigger an update to the complication.

This is doubly confusing because the other methods to cause a complication load via the complication data source are now deprecated and most of the discussion around the deprecation points developers to the background refresh task APIs but doesn’t specifically mention how to use them in conjunction with the Complication Server’s reload methods.

I’d really like to see a sample project, some forum posts, and updated documentation that illustrates best practices for both using the background refresh task on the watch to update complications locally as well as using that in conjunction with WatchConnectivity pushes from the iPhone to update them as well.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!