You can use the repeatInterval
property of UILocalNotification
to make your notification automatically repeat every second, minute, hour, day, or other unit (see NSCalendarUnit
documentation):
notification.repeatInterval = NSMinuteCalendarUnit;
For your case, this means that you can create 5 notifications with fireDate
s 10 seconds apart, each with a repeatInterval
of NSMinuteCalendarUnit
. This will result in the user receiving a notification every 10 seconds indefinitely, and you will have only scheduled 5 notifications, which is well below the limit of 64.
The only downside of this technique is that there will be no way to stop the notifications until the user opens the app, as you will need to cancel all the notifications to stop them, and you can only do that while the app is running.