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
Post a Comment