Mobile Notification
Posted: Thu Feb 20, 2014 1:02 am
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
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