What problem does it solve?
Implement, review, and improve Live Activities so time-sensitive app state can be presented as glanceable, real-time widgets on the Lock Screen, Dynamic Island, StandBy, CarPlay, and paired Mac without fragile or leaky lifecycle behavior.
Core Features & Use Cases
- Activity modeling: defines ActivityAttributes and compact ContentState patterns that keep updates small and serializable.
- Lifecycle & delivery: covers request, update, end flows, staleDate handling, dismissal policies, and avoiding leaked activities.
- Dynamic Island & Lock Screen: designs compact, minimal, and expanded regions plus keyline tinting and size considerations for concise presentation.
- Push-to-update & server integration: describes APNs payload formats, required headers, push token forwarding, push-to-start, and frequent updates settings.
- Use Case: build delivery tracking, ride-sharing status, sports scores, or workout timers that update from the server and appear reliably on users' Lock Screens.
Quick Start
Use ActivityKit to add a Live Activity that starts with Activity.request, forwards push tokens to your server, and updates the Lock Screen and Dynamic Island via APNs.