You need to make a multi-threaded application. Then you can get the background thread by polling the server (or, better, by making asynchronous requests on it.
NSOperation NSOperationQueue. NSOperation. , , .
NSOperation main. , NSOperationQueue .
, NSInvocationOperation. NSOperation, . NSInvocationOperation NSOperationQueue ( NSOperations), .