Hello everyone,

I'm just starting with iOS and this is my first question on this list. So
please, apologies if this is a newbie question.

I'm trying to build a simple Alarm app. The application needs to show a
custom image + play a custom sound when the alarm is dispatched.

*         I've started by using UILocalNotification, however, when my app
goes to background, I'm receiving the scheduled Notification, as expected,
but I didn't find a way to load my custom image or playing the custom sound.

I've found several examples of Alarm apps on github using this approach, but
it doesn't look the right approach for me

*         I've also tried to use a NSTimer and iterate an array of alarms.
This approach works while my application is on the forground. But as soon as
it goes to background, the timer stop working.

What do you think? What's the best approach to build something like this?

 

Thanks in advance.

 

 

 

Claudio M. E. Bastos Iorio 

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to