Accessing Built-In iOS Alarm Sounds When Using AlarmKit

Hi everyone,

I’m currently integrating AlarmKit into an app and would like to offer users the same selection of built-in iOS alarm sounds that the native Clock app provides.

So far, I haven’t found any API in AlarmKit (or elsewhere in the SDK) that exposes the system’s default alarm tones. Before implementing a custom sound library, I wanted to check:

Is there any way to access or present the iOS system alarm sounds when creating alarms with AlarmKit? Or are developers limited to custom audio files that we provide ourselves?

If anyone has experience with AlarmKit or knows whether this is technically possible (or explicitly restricted), I’d really appreciate your insights.

Thanks!

???

Thanks for the post. Sorry for the delay. Very interesting and great question.

For alarm-like functionality, local notifications can be paired with custom sounds.

The default alarm sounds available on iOS devices are proprietary. This restriction ensures that these sounds remain exclusive to and maintain their intended user experience. As of now, there is no public API that allows developers to access or directly play the built-in iOS alarm sounds in their apps using AlarmKit or any other framework within the iOS SDK.

Developers looking to implement alarm functionality in their apps can provide their own audio files. This means you can bundle custom sound files with your app or allow users to select from their own music library I think as well.

In summary, as far as I know now, you are currently limited to using custom audio files for alarm sounds in apps, as there is no supported way to access the default iOS alarm tones programmatically.

Resources: https://developer.apple.com/documentation/alarmkit/scheduling-an-alarm-with-alarmkit

Albert Pascual
  Worldwide Developer Relations.

Accessing Built-In iOS Alarm Sounds When Using AlarmKit
 
 
Q