I'm trying here to repeat a local notification for every hour. so I tried this sample code:
UILocalNotification *reminderNote = [[UILocalNotification alloc]init];
reminderNote.fireDate = [NSDate dateWithTimeIntervalSinceNow:60 * 60];
reminderNote.repeatInterval = NSDayCalendarUnit;
reminderNote.alertBody = @"some text";
reminderNote.alertAction = @"View";
reminderNote.soundName = @"sound.aif";
[[UIApplication sharedApplication] scheduleLocalNotification:reminderNote];
and it worked fine. But when I try to repeat it at a specific minute of the hour, say every hour sharp, or every hour and 6 mins. I just couldn't figure out a way to do that! I tried to change SinceNow to anything else but it's not working!
Is there a way change it? or any other sample code that I should work on?
Thanks in Advance.