Unless you enable one of the Background modes
, it is not gonna work.
Why?
-
You have around 10 minutes of background execution after this the timer is stopped by ios.
-
The timer will not fire after app is locked (iOS7), since ios suspends the foreground app and
bgTask
will not get fire again.
There is some workarounds, consider to check below question:
iphone – NSTimers in background
Scheduled NSTimer when app is in background?
NSTimer on background IS working