Instance Method

extendTimeline(for:)

Asks the system to extend the data in your complication’s timeline.

Declaration

func extendTimeline(for complication: CLKComplication)

Parameters

complication

The complication whose data you want to extend.

Discussion

Call this method when your existing complication data is still valid and you’ve new data to add to the end of your timeline. ClockKit initiates an update session to request the additional data from your complication data source. If your complication has already exceeded its allotted daily budget for execution time, calls to this method do nothing.

See Also

Updating Your Timeline Data

func reloadTimeline(for: CLKComplication)

Invalidates your existing timeline data and triggers an update session to reload it.