alarm kit

Asked on 06/12/2025

1 search

The session "Wake up to the AlarmKit API" from 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 the first alarm is created. 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 pre-alert and post-alert countdown intervals.

  • Alarm Management: Using the Alarm Manager class, developers can manage the lifecycle of alarms, including scheduling, pausing, resuming, and canceling them.

  • Custom Actions: Alarms can have custom buttons with actions defined by app intents, allowing for personalized interactions when an alarm is triggered.

  • Live Activities: Alarms support custom countdown interfaces using live activities, which can be displayed on the lock screen, in the Dynamic Island, and in Standby mode.

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