alarmkit, lots of detail in it

Asked on 06/12/2025

@wwdc25

1 search

The session "Wake up to the AlarmKit API" at WWDC 2025 provides a comprehensive overview of the AlarmKit framework, which allows developers to create and manage alarms within their apps. Here are some key details covered in the session:

  1. Authorization: Before scheduling alarms, apps need to request user authorization. This can be done by adding the NSAlarmKitUsageDescription to the app's info plist and using the AlarmManager to request authorization. Authorization

  2. Creating Alarms: Alarms can be created with a fixed or relative schedule, and they can include custom metadata for additional functionality. The session explains how to set up countdown durations, schedules, and appearances for alarms. Creation

  3. Alarm Lifecycle Management: The AlarmManager class is used to manage the lifecycle of alarms, allowing developers to transition alarms to different states such as countdown, paused, or stopped. Life cycle

  4. Customization: Developers can customize the appearance of alarms, including the alert presentation and actions using app intents. This includes setting up custom buttons and defining actions that occur when these buttons are tapped.

  5. Integration with System Features: Alarms can be integrated with system features like the Dynamic Island and Standby mode, providing a seamless user experience across different device states.

If you have specific questions about any part of the AlarmKit API, feel free to ask!