Hello,
Since iOS9, local notification aren't working properly.
Sometimes users receive the notification, sometimes they just don't. My notifications are repeated daily.
Any idea what might causing the issue? I saw some posts, that there's a bug in iOS9, but I'm not sure that's the reason.
Here's a piece of code:
NSDate *alarmDate = [date dateByAddingTimeInterval:DEFAULT_SNOOZE_DURATION * i];
UILocalNotification *localNotif = [[UILocalNotification alloc] init];
localNotif.fireDate = alarmDate;
localNotif.timeZone = nil;
localNotif.alertBody = alertBody;
localNotif.hasAction = YES;
localNotif.applicationIconBadgeNumber = 1;
localNotif.soundName = UILocalNotificationDefaultSoundName;
localNotif.repeatInterval = NSCalendarUnitDay;
[[UIApplication sharedApplication] scheduleLocalNotification:localNotif]Thanks for your help