I have searched for references to this and have found a few teasers, but nothing comprehensive.
I'm looking for a way to set up (and, perhaps delete, although not absolutely necessary) a new alarm in the actual IOS Alarm Clock application from a new (self-created) app.
Basically, the app I'm creating would programmatically add a new alarm (setting the time, and including choosing a ring tone) to the Clock app, which would then simply behave as it normally does -- making the built-in alarm clock ring when the time arrives.
Can anyone point specifically to the APIs that would help achieve this?
I did find reference to the CFPreferences APIs, and these seemed to imply being able to set Preferences for other apps. This sounds close, but clearly I'd need some more information, specifically:
1) The bundle / application ID for the Clock application 2) The format and specifics for adding (or removing) a new alarm using that preference setting
Does anyone have any wisdom to offer?
Many thanks, Scott Hurd
This behavior is not possible, sorry. You may set alarms with custom tones through your application and handle them through your application, these are called local notifications but it would not be possible to add an alarm to the ios alarm clock.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With