I am setting around 370 UILocalNotification
s but I can only set 64...
for(int i = 0 ; i<[arr count] ; i++){
UILocalNotification* alarm = [[UILocalNotification alloc] init];
// Create a new notification.
if (alarm)
{
alarm.fireDate = indDate;
alarm.timeZone = [NSTimeZone defaultTimeZone];
//alarm.repeatInterval = NSMinuteCalendarUnit;
alarm.soundName = @"alarmsound.caf";
alarm.alertBody = @"Message";
[app scheduleLocalNotification:alarm];
[[UIApplication sharedApplication] scheduleLocalNotification:alarm];
}
}
Maximum limit is 64. I have also the same problem where i need to schedule many notifications. I have scheduled 64 notifications and when the app again opens I will schedule the remaining notifications.
For more Info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With