10 questions with the Live Activities team
Live Activities display up-to-date information on the Lock Screen, such as weather updates or flight times. The Dynamic Island on iPhone 14 Pro models adds visual interest to Live Activities.Developers can update Live Activities using existing background runtime functionalities or BGProcessingTask.The default dismissal time for Live Activities is 4 hours, but developers can customize this using ActivityUIDismissalPolicy.Apps can detect when a Live Activity is dismissed using the activityStateUpdates async sequence.Live Activities remain active even if the associated app is force quit.Live Activities are suitable for displaying situational information related to ongoing tasks, while widgets provide glanceable information that's always relevant.Live Activities are structured as a single view, while widgets consist of a timeline of preconstructed views.The Dynamic Island is designed to be immersive without a background color or imagery.Live Activities on the Lock Screen and in the Dynamic Island do not support interactive buttons.Developers can use Live Activities to provide their own UI in the Dynamic Island, while other system services can also display UI there.