cocoa touch - Is there a way to make an NSthread run even when the app is in background? -


i have nsthread checks new data on internet. possible run thread when app in background user in order check if new data arrived , show local notification?

any appreciated. thanks!

your code can run in background under defined conditions; voip, gps, etc...

beyond that, code shouldn't running.

as well, having background thread polls new data waste of battery life.

use push notification. kind of notification designed for.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -