NSTimers - suspend them

Discussion in 'iOS Programming' started by larswik, May 24, 2012.

  1. larswik macrumors 68000

    Sep 8, 2006
    I created a little ticker tape for my app. Every hour it loads a txt file from my server and displays that information on my root viewController. With that timer I am not creating a [NSTimer invalidate] since I alway ways want it to run.

    When the app moves to the background, but is still in memory, will that timer suspend it's self until it becomes the foreground app again? My concerns were for it draining the battery even if it is in the background and was still running?
  2. chen8002004 macrumors newbie

    May 22, 2011
    Yes. It will resume automatically when it comes to foreground. Network will not stop in background.

Share This Page