|Dec 21, 2012, 11:56 AM||#1|
NSTimer erroneously invalidated
I have an application that works like a feed and should keep me updated about the changes (read from a html page).
There is how I create the timer:
timer=[NSTimer scheduledTimerWithTimeInterval: [interval integerValue ] target: self selector: @selector(updateInfo:) userInfo: nil repeats: YES]; //
Sometimes I am not updated about the page (I can check this manually), so I suppose that for some reason the timer is invalidated, even if I don't invalidate it anywhere.
Now the question is: There is a possibility that if the computer goes to background, when it restarts the timer gets invalidated?
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 02:56 PM.