Take the 2-minute tour ×  I am working on a application that
reminds about the expiry date. I have implemented the same using
UILocalNotification with repeat Interval (NSMonthCalendarUnit,
NSDayCalendarUnit,NSDayCalendarUnit). For example I have the
fire date on 01-01-2012 and the repeat interval is
NSDayCalendarUnit and the end date is 12-12-2012, is it possbile
to cancelLocalNotification: on expiry.  here is the code:-  -
(void) scheduleNotificationOn:(NSDate*) fireDate
text:(NSString*) alertText
action:(NSString*) alertAction
sound:(NSString*) soundfileName
launchImage:(NSString*) launchImage
andInfo:(NSDictionary*) userInfo   userInfo = [NSDictionary
dictionaryWithObjectsAndKeys:             txtExpiryDate.text,
@"ExpiryDate",             txtRegNo.text , @"RegNo",
UILocalNotification *localNotification = [[UILocalNotification
alloc] init];  localNotification.fireDate = fireDate;
localNotification.timeZon