Having a NSTimer running background
I've seen hundreds of solutions of how to get a NSTimer to run in the background. I know that it is possible, just look at apps like Strava and Runkepper that tracks your time when working out. But what is the best practice solution for doing so? I can't find one unison solution for this. Also, I would like the NSTimer to be used across different UIViewControllers. How is this done as a best practice? Thanks in regards! :) NSTimers don't run in the background. Store the current time and the elapsed time of the timer when you got the background. When you come back to the foreground, you set up