live-activities

Develops iOS Live Activities and Dynamic Island experiences using ActivityKit.

981|50|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill live-activities-dpearson2699
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-activities
Source: https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/live-activities
Command: npx skills add https://github.com/dpearson2699/swift-ios-skills --skill live-activities-dpearson2699

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation of dynamic, real-time updating experiences on the iOS Lock Screen and Dynamic Island, keeping users informed at a glance.

Core Features & Use Cases

  • Implement Live Activities: Build engaging, glanceable updates for delivery tracking, sports scores, workout timers, and more.
  • Dynamic Island Integration: Design adaptive UIs for the Dynamic Island's various presentation modes.
  • ActivityKit Management: Handle the lifecycle of Live Activities, including starting, updating, and ending them.
  • Push Notifications: Implement efficient remote updates via APNs for real-time data synchronization.
  • Use Case: A food delivery app can use Live Activities to show the user the real-time status of their order, from preparation to the driver's ETA, directly on their Lock Screen.

Quick Start

Use the live-activities skill to implement a Live Activity for tracking a delivery order.

Frequently Asked Questions about live-activities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Live Activities for real-time iOS updates?

Live Activities display time-sensitive data like delivery status or sports scores on the iOS Lock Screen using ActivityKit. You define ActivityAttributes to structure the data and manage the activity lifecycle to start, update, and end real-time presentations.

How does ActivityKit handle Dynamic Island presentation modes?

ActivityKit manages Dynamic Island presentations by allowing you to design adaptive UIs for various expanded and collapsed presentation modes. You structure content specifically for the Dynamic Island to provide glanceable real-time updates directly on the Lock Screen.

Can I use push notifications to update Live Activities remotely?

Yes, you can implement efficient remote updates for Live Activities via APNs. Push-to-update mechanisms synchronize real-time data remotely, ensuring the Dynamic Island and Lock Screen display current information without requiring the app to run locally.

What is the best way to manage the lifecycle of a Live Activity?

The best way to manage a Live Activity lifecycle is using ActivityKit to explicitly start, update, and end the real-time presentation. Defining ActivityAttributes properly ensures time-sensitive information remains accurate throughout the activity's duration.

Does ActivityKit work for tracking time-sensitive information like workout progress?

Yes, ActivityKit supports tracking time-sensitive information such as workout progress, delivery status, and sports scores. It enables real-time data presentation directly on the Lock Screen and Dynamic Island for glanceable user updates.

Why define ActivityAttributes when building Live Activities?

Defining ActivityAttributes structures the static and dynamic data required for Live Activities. This definition allows ActivityKit to properly manage the real-time presentation of time-sensitive information across the Dynamic Island and Lock Screen.