fireDate and repeatInterval for UNNotificationRequest

With UILocalNotification it was possible to set both fireDate and repeatInterval in a manner that you could schedule a notification firing every day starting next month.

Now that UILocalNotification is deprecated, I can't seem to find a way to replicate this behavior using the available UNNotificationsRequest triggers.

Is there any way I could possibly do this?

I think you would have to use two UNNotifications for this case.

The first notification (start of next month, non-repeating) fires when you want the repeating notifications to start.
Your handler for this notification starts the second notification (daily, repeating).

Thanks for the answer! The problem is that for that handler to trigger, the app has to be running on the foreground or the user has to directly tap on the first notification, right?

Yes, the user must respond to the first notification, to action the second.
I don't see any way round that.

That'a shame. Thanks a lot anyway!

Hi, does anyone has an official statement from Apple regarding this issue? In the old API it was possible to schedule repeating notifications after a date but can't find the way to do it in the new API :(

fireDate and repeatInterval for UNNotificationRequest
 
 
Q