I am developing an alarm app using Swift. While the app is in background, I want to keep repeating local notifications (scheduled by user) if user ignores or dismisses first notification without taking any action on it. How can I achieve this? I have set Snooze & Stop actions on notification and can identify if user takes action on any of these. Any help will be greatly appreciated.
I have figured out the solution by reading many articles online as well discussing with other fellow iOS developers and the only solution would be to schedule repeat notifications after interval of 30 sec with a hope that user will eventually take action on it. Once the user taps on any action we can identify the identifier and continue with our logic. I hope this helps many developers looking for an answer to similar question.