Instance Method


Retrieves the latest date for which your complication is prepared to supply data.


optional func getTimelineEndDate(for complication: CLKComplication, withHandler handler: @escaping (Date?) -> Void)



The complication tied to the request.


The handler to execute with the end date. This block has no return value and takes the following parameter:


The end date for your data. For times after this date, WatchKit dims your data to indicate that the timeline doesn’t continue. If you specify nil, ClockKit doesn’t ask for any more future data.


Your implementation of this method must execute the block in the handler parameter and specify the date. If your application can’t provide future timeline entries, specify the current date.

If you don’t implement this method, ClockKit doesn’t attempt to retrieve timeline entries after the current entry.

See Also

Getting the Timeline Information

func getSupportedTimeTravelDirections(for: CLKComplication, withHandler: (CLKComplicationTimeTravelDirections) -> Void)

Determines whether your complication can provide timeline entries for the future or the past.


func getTimelineStartDate(for: CLKComplication, withHandler: (Date?) -> Void)

Retrieves the earliest date for which your complication is prepared to supply data.