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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -