Im currently working on a timer app similar to apple’s default “Clock” utility
but when the user quits, NSTimers no longer seem to have any effect
would I have to use push notifications to alert the user the timer has ended, or is there some other way I can run an action on a timer after the application quits?
thanks in advance
When you app quits, it has ended and there is no way to run code after that point.
You could do something with notifications, but that would be a hack and not very practical. Notifications might not appear. Or have delays. Also, no code is run when receiving a notification. Only when the user decides to open your app after receiving one.