Instance Method

requestedUpdateBudgetExhausted

Called when a scheduled update begins but your complication’s time budget is exhausted.

Declaration

- (void)requestedUpdateBudgetExhausted;

Discussion

When the date returned by the getNextRequestedUpdateDateWithHandler: method of your data source passes, ClockKit begins a scheduled update of your complication. At the start of that update, it calls this method or the requestedUpdateDidBegin method to let you know that the requested update has begun. These methods are your opportunity to tell ClockKit whether or not you have new data to add to your timeline. When this method is called, it is your last opportunity to update your timeline until its budget is replenished.

If you have new data for your timeline, your implementation of this method should call the reloadTimelineForComplication: or extendTimelineForComplication: method of the complication server. ClockKit does not ask your data source for new timeline entries unless you call one of those methods. If you do nothing or do not implement this method, ClockKit calls only the getNextRequestedUpdateDateWithHandler: of your data source to fetch a new update time.

See Also

Responding to Scheduled Updates

requestedUpdateDidBegin

Called when a requested update begins so that you have an opportunity to extend or reload your timeline.

Deprecated