One Logo Pool Ball
WidgetKit · IOS API REFERENCE

TimelineReloadPolicy

struct · iOS 14.0+ · SDK 27.1

struct TimelineReloadPolicy

A type that indicates the earliest date WidgetKit requests a new timeline from the widget's provider.

Members (3)

static · iOS 14.0+

after

TypeScript
static after(date: globalThis.Date): TimelineReloadPolicy
Swift declaration
static func after(_ date: Date) -> TimelineReloadPolicy

A policy that specifies a future date for WidgetKit to request a new timeline.

get · iOS 14.0+

atEnd

TypeScript
static get atEnd(): TimelineReloadPolicy
Swift declaration
static let atEnd: TimelineReloadPolicy

A policy that specifies that WidgetKit requests a new timeline after the last date in a timeline passes.

get · iOS 14.0+

never

TypeScript
static get never(): TimelineReloadPolicy
Swift declaration
static let never: TimelineReloadPolicy

A policy that specifies that the app prompts WidgetKit when a new timeline is available.

Skipped declarations

No declarations were skipped in this snapshot.

All WidgetKit types →