Scheduling repeating local notification in the future

691 views Asked by At

Is it possible to schedule a repeating local notification in the future? I'm trying to set up a repeating notification every 10 min starting in 30 min for example. (iOS 11 Swift)

I've tried using UNTimeIntervalNotificationTrigger but I'm not sure how to set when it should start. From what I've found the trigger fires as soon as it's added it to UNUserNotificationCenter.

Since the user might close the app I don't think I can first create a single notification then wait until that triggers to set up a repeating one.

I've looked at this: Repeating local notification is triggered immediately -- how to defer? And this: iOS 11- User local notification which repeat every x minutes And this: UserNotification in 3 days then repeat every day/hour - iOS 10

So no one seems to have figured it out.

(I don't want it to repeat every day or weekly or on a specific day.)

0

There are 0 answers