Open niravparmar231 opened 2 years ago
i want to fire notification between specific time but interval is 2/3 seconds not 10/15 seconds so i do following changes but it will not work , not fire notification on perfect start time time.
let scheduler = DLNotificationScheduler() scheduler.repeatsFromToDate(identifier: "First Notification", alertTitle: "Multiple Notifications", alertBody: "Progress", fromDate: Date(), toDate: Date().addingTimeInterval(300) , interval: 10, repeats: .none ) scheduler.scheduleAllNotifications()
i want to fire notification between specific time but interval is 2/3 seconds not 10/15 seconds so i do following changes but it will not work , not fire notification on perfect start time time.
let scheduler = DLNotificationScheduler() scheduler.repeatsFromToDate(identifier: "First Notification", alertTitle: "Multiple Notifications", alertBody: "Progress", fromDate: Date(), toDate: Date().addingTimeInterval(300) , interval: 10, repeats: .none ) scheduler.scheduleAllNotifications()