<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TimelineView/Context/invalidateTimelineContent()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12TimelineViewV7ContextV010invalidateC7ContentyyF"
  },
  "title" : "invalidateTimelineContent()"
}
-->

# invalidateTimelineContent()

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

```
func invalidateTimelineContent()
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)