I want to run a code every ten minutes for ever. I used a NSTimer but when the app is in Background or Terminate the timer stops. I developed a game
答案 0 :(得分:1)
Just store time, when app is terminated(or send background). When user open your app in next time, load this time. Check with current time and make changes in points.