---
title: invalidateTimelineContent()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/timelineview/context/invalidatetimelinecontent()
---

# invalidateTimelineContent()

Resets any pre-rendered views the system has from the timeline.

## Declaration

```swift
func invalidateTimelineContent()
```

## Discussion

Discussion When entering Always On Display, the system might pre-render frames. If the content of these frames must change in a way that isn’t reflected by the schedule or the timeline view’s current bindings — for example, because the user changes the title of a future calendar event — call this method to request that the frames be regenerated.
