WidgetKit watchOS 8.5 to 9.0 API Differences
WGWidgetDefines.h
Added
WGWidgetUserInfoKeyKind
Added
WGWidgetUserInfoKeyFamily
AccessoryWidgetBackground
Added
AccessoryWidgetBackground
Added
AccessoryWidgetBackground.init()
Added
AccessoryWidgetBackground.body
Added
AccessoryWidgetBackground.Body
IntentConfiguration
Added
IntentConfiguration
Added
IntentConfiguration.body
Added
IntentConfiguration.Body
IntentRecommendation
Added
IntentRecommendation
Added
IntentRecommendation.init(intent:description:)
IntentTimelineProvider
Added
IntentTimelineProvider
StaticConfiguration
Added
StaticConfiguration
Added
StaticConfiguration.body
Added
StaticConfiguration.Body
Timeline
Added
Timeline
Added
Timeline.init(entries:policy:)
Added
Timeline.entries
Added
Timeline.policy
TimelineEntry
Added
TimelineEntry
TimelineEntryRelevance
Added
TimelineEntryRelevance
Added
TimelineEntryRelevance.==(a:b:) /* static */
Added
TimelineEntryRelevance.init(from:)
Added
TimelineEntryRelevance.init(score:duration:)
Added
TimelineEntryRelevance.duration
Added
TimelineEntryRelevance.hashValue
Added
TimelineEntryRelevance.score
Added
TimelineEntryRelevance.encode(to:)
Added
TimelineEntryRelevance.hash(into:)
TimelineProvider
Added
TimelineProvider
TimelineProviderContext
Added
TimelineProviderContext
Added
TimelineProviderContext.displaySize
Added
TimelineProviderContext.environmentVariants
Added
TimelineProviderContext.family
Added
TimelineProviderContext.isPreview
Added
TimelineProviderContext.EnvironmentVariants
Added
TimelineProviderContext.EnvironmentVariants.subscript(dynamicMember:)
Added
TimelineProviderContext.EnvironmentVariants.subscript(keyPath:)
TimelineReloadPolicy
Added
TimelineReloadPolicy
Added
TimelineReloadPolicy.atEnd /* static */
Added
TimelineReloadPolicy.never /* static */
Added
TimelineReloadPolicy.==(a:b:) /* static */
Added
TimelineReloadPolicy.after(_:) /* static */
WidgetCenter
Added
WidgetCenter
Added
WidgetCenter.shared /* static */
Added
WidgetCenter.getCurrentConfigurations(_:)
Added
WidgetCenter.invalidateConfigurationRecommendations()
Added
WidgetCenter.reloadAllTimelines()
Added
WidgetCenter.reloadTimelines(ofKind:)
Added
WidgetCenter.UserInfoKey
Added
WidgetCenter.UserInfoKey.family /* static */
Added
WidgetCenter.UserInfoKey.kind /* static */
WidgetFamily
Added
WidgetFamily
Added
WidgetFamily.init(rawValue:)
Added
WidgetFamily.debugDescription
Added
WidgetFamily.description
Added
WidgetFamily.rawValue
Added
WidgetFamily.RawValue
WidgetInfo
Added
WidgetInfo
Added
WidgetInfo.configuration
Added
WidgetInfo.family
Added
WidgetInfo.kind
WidgetPreviewContext
Added
WidgetPreviewContext
Added
WidgetPreviewContext.init(family:)
Added
WidgetPreviewContext.subscript(key:)
WidgetRenderingMode
Added
WidgetRenderingMode
Added
WidgetRenderingMode.accented /* static */
Added
WidgetRenderingMode.fullColor /* static */
Added
WidgetRenderingMode.vibrant /* static */
Added
WidgetRenderingMode.==(a:b:) /* static */