alarm kit

Asked on 06/17/2025

2 searches

The session "Wake up to the AlarmKit API" at WWDC 2025 introduces the AlarmKit framework, which allows developers to create and manage alarms within their apps. This session covers various aspects of using AlarmKit, including:

  • Authorization: Before scheduling alarms, users must authorize the app. This can be done manually or automatically when creating the first alarm. The app must include a usage description in its info plist.

  • Alarm Creation: Alarms can be created with specific countdown durations, schedules (fixed or relative), and custom appearances. They can include custom actions using app intents and custom sounds.

  • Alarm Management: The Alarm Manager class is used to manage the lifecycle of alarms, allowing actions such as scheduling, pausing, resuming, and canceling alarms.

  • Customization: Developers can customize the alarm's appearance, including buttons and actions, and integrate with live activities for countdown interfaces on the lock screen and Dynamic Island.

For more detailed information, you can refer to the session chapters, such as Authorization and Creation.