title: make timer run on background iOS for more than 3 minutes
body: <p>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? </p>
  
  <p>After the research, I guess the solution is implement <code>beginBackgroundTaskWithExpirationHandler</code></p>
  
  <p>and stops it by giving a <code>handler</code> and set location update on <code>plist</code>? </p>
  
  <p>As for audio, besides setting the plist, anything else need to do to play audio?</p>
  
  <p><a href="https://stackoverflow.com/questions/27894834/swift-how-to-use-nstimer-background">Swift how to use NSTimer background?</a>
  <a href="https://stackoverflow.com/questions/8943214/iphone-nstimers-in-background?rq=1">iphone - NSTimers in background</a>
  <a href="https://stackoverflow.com/questions/9738488/run-app-for-more-than-10-minutes-in-background">Run app for more than 10 minutes in background</a></p>