Anyone used this to cancel a previously scheduled Local Notification? I see
it in the documentation but can't get it wired up in code.

UIApplication.SharedApplication.ScheduledLocalNotifications schedNoteList =
new UIApplication.SharedApplication.ScheduledLocalNotifications();
        foreach(UILocalNotification sNote in schedNoteList)
        {
                if(sNote.FireDate == oldDate)
                {
                        //Cancel the Notification
                        UIApplication.CancelLocalNotification(sNote);
                }
        }

Thanks,
Rick

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/UIApplication-CancelLocalNotification-tp3731650p3731650.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to