Skip to content

Latest commit

 

History

History
81 lines (70 loc) · 11.5 KB

ActivityKit.md

File metadata and controls

81 lines (70 loc) · 11.5 KB

ActivityKit

Symbols: 49.5% of Apple's iOS API (52 of 105, exact) · Rows: 1: 1 ✅ · iOS: 16.1+

Area: App extensions & system integration · Apple: ActivityKit · Issues: area:system

How isim implements it

  • Adapted: Live Activities are records that the shell draws on the lock screen and in the Dynamic Island.

API

API / feature Status iOS Notes
ActivityKit (Live Activities, Dynamic Island) ✅ ≤17 Activity.request/update/end, activities (also those started by a push or an earlier run), ActivityAuthorizationInfo (NSSupportsLiveActivities); the widget extension's ActivityConfiguration renders the lock-screen view (with activityBackgroundTint, widgetURL: a tap opens the app) and the Dynamic Island compact/minimal/expanded regions, DynamicIsland.contentMargins(_:_:for: DynamicIslandMode) (expanded: 22 / 14 pt by default); the shell draws them on the lock screen (several, by relevance) and around the island: compact for one activity, minimal for two (the most relevant attached, the other detached on the trailing side; estimated geometry), tap / script island expands; contentUpdates, activityStateUpdates (active → stale → ended → dismissed), staleDate (rendered again with context.isStale when it passes); update(_:alertConfiguration:) and push alerts: the island expands for 4 s (no island: a banner), on the lock screen the activity lights up; dismissal policies .immediate, .after(date), .default (out of the island at once, on the lock screen until then, at most 4 h); push updates (adapted: the home screen stands in for APNs): pushType: .token, pushToken, pushTokenUpdates, isim push / script push with a liveactivity payload (aps.event update / end / start, content-state, timestamp (older ones ignored), stale-date, dismissal-date, relevance-score, alert), push-to-start (iOS 17.2: pushToStartToken, pushToStartTokenUpdates, attributes-type / attributes, Activity.activityUpdates). Not on isim: broadcast channel pushes (pushType: .channel), frequentPushesEnabled, Live Activities in StandBy. Tested (HelloWidgets: test_widgets, test_live_activity_push)

Not yet in isim

53 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.

List