Is it possible to make an alarm using NSTimer and UIDatepicker?

Posted by user557425 on Stack Overflow See other posts from Stack Overflow or by user557425
Published on 2011-01-03T14:26:37Z Indexed on 2011/01/05 9:53 UTC
Read the original article Hit count: 186

Filed under:
|
|

I have an app which plays some ambient noises. I have fitted it with a sleep timer and a local notifier which work fine, but the notifier will only fire when the app is in the background.

I would like to be able to fit a standard alarm clock that the user can set using the date picker, ie, the user picks 07:15 am on the date picker and this triggers a sound being played at this time. Can this be done?

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about ios