|Dec 21, 2012, 12:56 PM||#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|
|thread||Thread Starter||Forum||Replies||Last Post|
|Calendar erroneously adds alerts to new events||kronborg||OS X 10.8 Mountain Lion||35||Feb 9, 2014 06:54 PM|
|NSTimer Alternatives||adimanic||iPhone/iPad Programming||1||Jan 4, 2014 01:04 AM|
|NStimer in Background||erdinc27||iPhone/iPad Programming||6||May 11, 2013 08:21 AM|
|Apple's 'Rubber Banding' Patent Key to Samsung Lawsuit Preliminarily Invalidated||MacRumors||MacRumors.com News Discussion||124||Oct 26, 2012 10:20 AM|
|NSTimer not firing||eddjc||Mac Programming||6||Jul 28, 2012 04:30 PM|
All times are GMT -5. The time now is 04:18 PM.