Scheduling Limitations with Local UNNotificationRequest

114 Views Asked by At

There seem to be some valid use-cases for Local Notifications that aren't possible with UNNotificationRequest and it's associated triggers: UNTimeIntervalNotificationTrigger and UNCalendarNotificationTrigger.

For example, I'd like to send a local notification every 12 hours, but not start the notifications for another 5 days and have it stop after 100 days. Yet, there does not seem to be a startDate/endDate property for either the triggers or the UNNotificationRequest

Of course, one option is to use UNCalendarNotificationTrigger and explicitly schedule each one, but this will run into the total-notification-limit of 64.

Does iOS have notification scheduling capabilities that can (or perhaps cannot) be accessed for this purpose?

Thanks

0

There are 0 best solutions below