Page 1 of 1

Mobile Notification

Posted: Thu Feb 20, 2014 1:02 am
by ferhan24badshah
I've successfully created an alarm function which notifies the user every single day at the desired time set by the user. The user also has the ability to cancel the notification.

I'm trying to implement multiple separate alarms and am not sure how to allow the user to cancel a specific alarm without canceling the other alarms.
the code that cancels a notification is ....mobileCancelAllLocalNotifications

that cancels all of the alarms...but how would i code it so only a specific alarm is canceled?

also i want separate notification received for each alarm. the code for that is localNotificationReceived...but i want different local notification for each alarm .


thanks

Re: Mobile Notification

Posted: Thu Feb 20, 2014 3:17 am
by Simon
I'm sure you've seen this by now
mobileCancelLocalNotification
Look it up, save your id's from mobileCreateLocalNotification.

Simon