A Live Activity is a card for one event with a start and an end, such as a ride or a match, shown on the Lock Screen and in the Dynamic Island and built with ActivityKit since iOS 16.1. It stays active for up to 8 hours, remains on the Lock Screen for 12 hours at most, and all its data must fit in 4 KB (ActivityKit documentation, checked October 17, 2026).
What a Live Activity is
A Live Activity shows something that is changing right now and will end soon, minutes until the taxi arrives, a match score, a delivery step. ActivityKit arrived in iOS 16.1 in 2022. On an iPhone with the Dynamic Island the card lives around the camera cutout, and on other iPhone models and on iPad it sits on the Lock Screen and appears as a banner for important updates.
The Dynamic Island has three presentations. Compact uses two halves on either side of the camera when one event is running. Minimal appears when several apps have events, and Apple shows up to three of them. Expanded opens on a long press. Since June 2025 the same cards also appear in the Mac menu bar and in CarPlay, while visionOS doesn’t support Live Activities.
Where it lives in Xcode and Info.plist
The Live Activity view is SwiftUI in the same separate target as your widgets. When you add that target with File › New › Target, keep Include Live Activity checked, and Xcode creates an ActivityConfiguration with a Lock Screen view and Dynamic Island views.
The app needs the Supports Live Activities entry (the NSSupportsLiveActivities key) set to YES in Info.plist or on the target’s Info tab. For very frequent updates, such as a live score, add NSSupportsLiveActivitiesFrequentUpdates as well. Your app starts a Live Activity with Activity.request while it is in the foreground.
Apple’s time and size limits
| What | Limit |
|---|---|
| Active | up to 8 hours, then the system ends it |
| On the Lock Screen after it ends | up to 4 more hours, 12 hours at most in total |
| Data and each update | 4 KB combined, static and dynamic |
| Lock Screen on a 430×932 iPhone | 408 points wide, 84 to 160 tall |
| Limited-width Dynamic Island | the view must fit a 28 point circle |
| Lock Screen margins | 14 points |
| Animations | 2 seconds at most |
| Push | apns-push-type liveactivity, priority 5 or 10 |
Per the ActivityKit documentation (Displaying live data, push notifications) and the Human Interface Guidelines, checked October 17, 2026.
Push updates and the budget
While your app runs, it updates the card itself with update. When the app is closed, your server sends updates through APNs. A Live Activity gets its own push address from ActivityKit, and the regular notification registration doesn’t work for it. In the APNs request apns-push-type is liveactivity and apns-topic is your bundle ID followed by .push-type.liveactivity.
Priority 10 pushes arrive at once and spend an hourly budget, and once you exceed it the system starts throttling. Priority 5 doesn’t count toward the budget, and Apple suggests mixing both. Since iOS 18 one card can subscribe to a channel, so a single push updates everyone following an event. Since June 2025 a Live Activity can also be scheduled for a set time. Pushes in general are covered on the APNs page.
How to start a Live Activity, step by step
- Define ActivityAttributes with the event data that never changes and a ContentState with what will change. Keep it all within 4 KB.
- Add Supports Live Activities set to YES to Info.plist.
- In the widget target, build an ActivityConfiguration with a Lock Screen view and the three Dynamic Island views.
- Check the limited-width view inside a 28 point circle, which the system uses in landscape and when two events run at once.
- Start the card from the app with Activity.request and, if you have a server, send it the push address.
- End the card as soon as the event is over, and set how long the summary stays on screen, usually 15 to 30 minutes.
Common mistakes
- A Live Activity for something that never ends. Apple wants it for events with a start and an end shorter than 8 hours, while ongoing data belongs in a widget.
- Heavy data. Images and long lists in ContentState hit the 4 KB limit and the update fails. Send references and short values instead.
- Only priority 10. Every such push spends budget, and at the peak of a match the system starts holding updates back.
- Forgetting Mac and CarPlay. Since 2025 the card shows up there on its own, and long text in the compact view gets cut off.
In an app made with Appto, a Live Activity is ordinary SwiftUI code in the Xcode project, and the agent checks the app’s screens on the simulator before handing the work over. More on the code page.
Questions
How many hours can a Live Activity run?
Up to 8 hours while active. Then the system ends it, and the card stays on the Lock Screen for up to 4 more hours, 12 at most in total (ActivityKit documentation as of October 17, 2026).
Which iOS version introduced Live Activities?
iOS 16.1, released in 2022. The Dynamic Island exists only on iPhone models that have it, and other devices show the card on the Lock Screen.
What is the Live Activity data limit?
Static and dynamic data together, including every update and push, can’t exceed 4 KB.
How many Live Activities can run at once?
Apple gives no exact number, it depends on the device, and scheduled cards count toward the limit too. Check ActivityAuthorizationInfo areActivitiesEnabled before starting one and handle the error calmly if the limit is reached.
Do I need a server for a Live Activity?
No, if the app updates the card while it runs. You need a server with APNs to update it while the app is closed.
Build your own app in Appto
Appto checks the niche on fresh App Store data, designs the screens, writes the code, builds the App Store page and submits to Apple from your account or shows you what to press in App Store Connect. Runs on your own Claude Code or Codex.
Download for Mac