So I need this app to run timer for more than 3 minutes, and play a sound like very 45 seconds, most of the solutions here are just for less than 3 minutes on iOS. Is there a way to make it run all the time, unless the app stops?
After the research, I guess the solution is implement beginBackgroundTaskWithExpirationHandler
and stops it by giving a handler
and set location update on plist
?
As for audio, besides setting the plist, anything else need to do to play audio?
Swift how to use NSTimer background? iphone - NSTimers in background Run app for more than 10 minutes in background