Symbols: 67.6% of Apple's iOS API (167 of 247, exact) · Rows: 9: 5 ✅ 1 🟡 3 ❌ · iOS: 14.0+
Area: App extensions & system integration · Apple: WidgetKit · Issues: area:system
- Adapted: widget extensions run as helper processes, and isim's SwiftUI renders their entries into images that the home screen and lock screen draw.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
| WidgetKit (home/lock screen widgets, timelines) | 🟡 | ≤17 | widget extensions (@main Widget/WidgetBundle, entry _NSExtensionMain) run as helper processes: StaticConfiguration / AppIntentConfiguration, TimelineProvider / AppIntentTimelineProvider, entries rendered by isim SwiftUI into images, shown by date, reload by policy and WidgetCenter.reloadTimelines; widget gallery (Edit Home Screen > +) with each widget's snapshot (getSnapshot / snapshot(for:in:), context.isPreview), small/medium/large on the home screen, supportedFamilies; a new widget shows placeholder(in:) redacted (.redacted(reason: .placeholder)) until its first timeline arrives; containerBackground, contentMarginsDisabled, widgetContentMargins, widgetFamily; interactive widgets (Button(intent:) runs the AppIntent in the extension, then reloads); a tap elsewhere opens the app with widgetURL, a Link with its URL; widget menu (long press): Edit Widget shows the WidgetConfigurationIntent's @Parameters (AppEnum choices, Bool, String, Int, Double; adapted: read by reflection) and the timeline reloads with the chosen values, Remove Widget; Lock Screen accessory widgets (accessoryCircular / accessoryRectangular under the clock, up to four units, accessoryInline next to the date) added in the Lock Screen editor (long press on the Lock Screen; adapted: no wallpaper gallery step), rendered with widgetRenderingMode .vibrant (adapted: luminance as white opacity), showsWidgetContainerBackground false, AccessoryWidgetBackground; a tap opens the app; .accented on the iOS 18+ tinted Home Screen (adapted: widgetAccentable content in the tint, the rest white, on a dark tinted background); StandBy (script standby on: landscape, the first two small widgets side by side, full colour without their container backgrounds; an empty side shows a clock); WidgetCenter.currentConfigurations (home screen pages and Lock Screen). Stub: TimelineEntry.relevance is kept, there are no Smart Stacks; AppEntity parameters are not offered in Edit Widget; no StandBy night mode. Tested (HelloWidgets: test_widgets, test_widgets_lockscreen) |
Widget and Live Activity previews (#Preview(_:as:widget:timeline:), #Preview(_:as:widget:timelineProvider:), #Preview(_:as:using:widget:timelineProvider:), #Preview(_:as:using:widget:contentStates:), PreviewTimelineBuilder, PreviewActivityBuilder, ActivityPreviewViewKind, WidgetPreviewContext) |
✅ | ≤17 | adapted: isim's PreviewsMacros plugin expands them like SwiftUI's #Preview; isim preview App.app --list finds them in the widget extension and isim preview App.app NAME renders every timeline entry (from the timeline: builder, or the provider's timeline; with using: the intent's) or every Live Activity content state (.content: the Lock Screen presentation on its tint; .dynamicIsland(.compact / .expanded / .minimal)) the way the widget extension renders them for the home screen, captioned, one under another on a grey canvas (Xcode's canvas shows one at a time with a timeline scrubber). previewContext(WidgetPreviewContext(family:)) frames a view at the family's size. Tested (HelloWidgets: test_widget_previews) |
SiriKit intent configuration: IntentConfiguration, IntentTimelineProvider, IntentRecommendation / AppIntentRecommendation and recommendations(), WidgetInfo |
✅ | ≤17 | adapted: a widget configured by a SiriKit custom intent (an INIntent subclass from an .intentdefinition) renders like an AppIntentConfiguration one. Edit Widget lists the intent's parameters from the .intentdefinition in the extension's bundle (enums with their cases, Booleans, strings, numbers, custom types by display string), or from the class's @NSManaged properties when there is none; the chosen values are set on the intent the provider gets (getSnapshot / getTimeline(for:in:completion:)). Recommendations are listed with the extension's widgets (the log names them; on iOS the system uses them where a widget cannot be configured, which isim does not have). WidgetInfo (the type currentConfigurations returns) has widgetConfigurationIntent(of:) with the values chosen in Edit Widget; its configuration (an IntentConfiguration's intent) is nil on isim. Tested (HelloWidgets: test_intent_configured_widget, per iOS version) |
Accented images: WidgetAccentedRenderingMode, Image.widgetAccentedRenderingMode(_:) |
✅ | 18.0 | adapted: on the tinted Home Screen (accented rendering) the host draws the widget once more without each mode's images and puts their pixels back: .fullColor as drawn, .desaturated grey, .accentedDesaturated grey in the tint, .accented in the tint (like widgetAccentable). Tested (HelloWidgets: test_accented_image_modes) |
Live Activity sizes: ActivityFamily, supplementalActivityFamilies(_:), EnvironmentValues.activityFamily |
✅ | 18.0 | adapted: the Lock Screen presentation is .medium; an activity that supports .small is also drawn at the small size (172 × 76 pt, activityFamily .small) and saved as small.png beside the other presentations. isim has no Apple Watch Smart Stack or CarPlay to show it. Tested (HelloWidgets: test_small_live_activity) |
Widget pushes: WidgetPushHandler, WidgetPushInfo, pushHandler(_:) |
✅ | 26.0 | adapted: the extension's handler gets a push token (stable per app on the device) with the widgets in use the first time one of them renders; a push with "apns-push-type": "widgets" (push BUNDLE_ID FILE, docs/SCRIPTING.md) reloads that app's widgets that have a push handler, like Apple's push service. No server or device token is involved. Tested (HelloWidgets: test_widget_push) |
| Types not yet in isim (iOS 17 and earlier) | ❌ | ≤17 | not implemented, found by the 2026-10 sweep: WidgetLocation (1 type; with its members under "Not yet in isim") |
| Types not yet in isim (iOS 18) | ❌ | 18.0 | not implemented, found by the 2026-10 sweep: ControlPushHandler, ControlPushInfo, WidgetRelevance, WidgetRelevanceAttribute, WidgetRelevanceGroup (5 types; with their members under "Not yet in isim") |
| Types not yet in isim (iOS 26) | ❌ | 26.0 | not implemented, found by the 2026-10 sweep: LevelOfDetail, WidgetMountingStyle (2 types; with their members under "Not yet in isim") |
80 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
ActivityPreviewViewKind.DynamicIslandPreviewViewStatecase compactcase expandedcase minimalinit<Provider>(kind: String, provider: Provider, content: (Provider.Value) -> Content)func relevance() async -> WidgetRelevance<Self.Intent>func relevance() async -> WidgetRelevance<Self.Intent>func configurationIntent<Intent>(of: Intent.Type) -> Intent?var id: Stringvar pushInfo: ControlPushInfo?ControlPushHandlerinit()func pushTokensDidChange(controls: [ControlInfo])ControlPushInfolet token: Datainit(LocalizedStringResource, action: Action, actionLabel: (Bool) -> ActionLabel)init(some StringProtocol, action: Action, actionLabel: (Bool) -> ActionLabel)init(LocalizedStringKey, action: Action, actionLabel: (Bool) -> ActionLabel)ControlWidgetButtonDefaultActionLabelControlWidgetToggleDefaultLabelDynamicIslandExpandedContentstatic func buildPartialBlock<C0, C1>(accumulated: DynamicIslandExpandedContent<C0>, next: DynamicIslandExpandedContent<C1>) -> DynamicIslandExpandedContent<some View>static func buildPartialBlock<C0, C1>(accumulated: DynamicIslandExpandedContent<C0>, next: DynamicIslandExpandedRegion<C1>) -> DynamicIslandExpandedContent<some View>static func buildPartialBlock<C>(first: DynamicIslandExpandedRegion<C>) -> DynamicIslandExpandedContent<some View>static func buildPartialBlock<C>(first: DynamicIslandExpandedContent<C>) -> DynamicIslandExpandedContent<some View>func contentMargins(Edge.Set, Double) -> DynamicIslandExpandedRegion<Content>DynamicIslandExpandedRegionVerticalPlacementstatic let belowIfTooWide: DynamicIslandExpandedRegionVerticalPlacementstatic letdefault: DynamicIslandExpandedRegionVerticalPlacementstatic let compactLeading: DynamicIslandModestatic let compactTrailing: DynamicIslandModefunc relevance() async -> WidgetRelevance<Self.Intent>func relevance() async -> WidgetRelevance<Self.Intent>LevelOfDetailstatic letdefault: LevelOfDetailstatic let simplified: LevelOfDetaillet NSUserActivityTypeLiveActivity: Stringstatic func buildPartialBlock(accumulated: [A.ContentState], next: [A.ContentState]) -> [A.ContentState]static func buildPartialBlock(first: [A.ContentState]) -> [A.ContentState]static func buildPartialBlock(accumulated: [any TimelineEntry], next: [any TimelineEntry]) -> [any TimelineEntry]static func buildPartialBlock(first: [any TimelineEntry]) -> [any TimelineEntry]SupportedActivityFamiliesEnvironmentKeyfunc relevance() async -> WidgetRelevance<Void>func relevance() async -> WidgetRelevance<Void>let environmentVariants: TimelineProviderContext.EnvironmentVariantsTimelineProviderContext.EnvironmentVariantssubscript<T>(WritableKeyPath<EnvironmentValues, T>) -> [T]?subscript<T>(dynamicMember _: WritableKeyPath<EnvironmentValues, T>) -> [T]?func currentConfigurations() async throws -> [WidgetInfo]var currentPushInfo: WidgetPushInfo?func invalidateConfigurationRecommendations()func invalidateRelevance(ofKind: String)WidgetCenter.UserInfoKeystatic let activityID: Stringstatic let family: Stringstatic let kind: Stringcase systemExtraLargePortraitvar id: WidgetInfoWidgetLocationstatic let carPlay: WidgetLocationstatic let homeScreen: WidgetLocationstatic let iPhoneWidgetsOnMac: WidgetLocationstatic let lockScreen: WidgetLocationstatic let standBy: WidgetLocationWidgetMountingStylestatic let elevated: WidgetMountingStylestatic let recessed: WidgetMountingStyleWidgetRelevanceinit([WidgetRelevanceAttribute<Configuration>])WidgetRelevanceAttributeinit(configuration: Configuration, context: RelevantContext)init(configuration: Configuration, context: RelevantContext)init(configuration: Configuration, group: WidgetRelevanceGroup)init(configuration: Configuration, group: WidgetRelevanceGroup)init(context: RelevantContext)init(group: WidgetRelevanceGroup)WidgetRelevanceGroupstatic let automatic: WidgetRelevanceGroupstatic func named(String) -> WidgetRelevanceGroupstatic let ungrouped: WidgetRelevanceGroup