alarmkitlisted
Install: claude install-skill thienqo/ios-skills
# AlarmKit
Schedule prominent alarms and countdown timers that surface on the Lock Screen, Dynamic Island, StandBy, and paired Apple Watch when firing. Targets iOS 26+ / iPadOS 26+.
> **UI Boundary:** AlarmKit alerts use system-managed alert UI that breaks through Focus and Silent modes. Custom UI is limited to countdown and paused Live Activity states rendered by a Widget Extension.
## Contents
- [Authorization & Setup](#authorization--setup)
- [Scheduling Alarms](#scheduling-alarms)
- [Countdown Timers](#countdown-timers)
- [Alarm State Observation](#alarm-state-observation)
- [Widget Extension Live Activity](#widget-extension-live-activity)
- [Common Mistakes](#common-mistakes)
- [Review Checklist](#review-checklist)
- [References](#references)
## Authorization & Setup
Add `NSAlarmKitUsageDescription` to Info.plist. Request authorization before scheduling alarms:
```swift
import AlarmKit
func setupAlarmKit() async throws {
let status = await AlarmManager.shared.requestAuthorization()
guard status == .authorized else { throw AlarmError.unauthorized }
}
```
## Scheduling Alarms
Construct and schedule an alarm with firing date and stop actions:
```swift
let alarm = Alarm(
id: UUID(),
schedule: .time(Date().addingTimeInterval(3600)),
title: "Morning Medication",
stopAction: .dismiss,
secondaryAction: .snooze(duration: 300)
)
try await AlarmManager.shared.schedule(alarm)
```
## Countdown Timers
Create active countdown experiences that p