Build real-time, glanceable experiences on the Lock Screen, Dynamic Island, StandBy, CarPlay, and Mac menu bar using ActivityKit. Patterns target iOS 26+ with Swift 6.2, backward-compatible to iOS 16.1 unless noted.
See references/live-activity-patterns.md for complete code patterns including push payload formats, concurrent activities, state observation, and testing.
Run through the Review Checklist at the end of this document.
ActivityKit을 사용하여 iOS 앱에서 라이브 활동 및 동적 섬 경험을 구현, 검토 또는 개선합니다. 배송 추적, 스포츠 점수, 차량 공유 상태, 운동 타이머, 미디어 재생 또는 실시간으로 업데이트되는 시간에 민감한 정보 등 잠금 화면 및 Dynamic Island용 실시간 업데이트 위젯을 구축할 때 사용하세요. ActivityKit, ActivityAttributes, 활동 수명 주기(요청/업데이트/종료), 동적 아일랜드 레이아웃(소형/최소/확장), 푸시 업데이트 라이브 활동 또는 잠금 화면 라이브 위젯과 관련된 모든 작업을 트리거합니다. 출처: dpearson2699/swift-ios-skills.