Wake up to the AlarmKit API

Asked on 2025-07-03

1 search

The session "Wake up to the AlarmKit API" at WWDC 2025 introduces AlarmKit, a framework that allows developers to create and manage alarms within their apps. The 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 authorization status can be checked using the Alarm Manager class.

  • Alarm Creation: Alarms can be created with specific schedules, either fixed or relative, and can include custom actions using app intents. The session provides examples of setting up alarms for specific times or recurring patterns.

  • Alarm Management: Once an alarm is set up, it can be managed using the Alarm Manager class. This includes scheduling, pausing, resuming, or canceling alarms.

  • Customization: Developers can customize the appearance and actions of alarms, including setting custom sounds and creating custom buttons that execute app intents.

  • Integration with System Features: Alarms can be integrated with system features like the Dynamic Island and Standby mode, and can display custom countdown interfaces using live activities.

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