Alex Rivera | Logout

iOS background application network access

Asked 2012-03-08T05:35:26.113
13

I have an application that requires location tracking and I think it fits squarely within one of the allowable background models. However, I need to post to a network service when there are significant changes of location. I've seen write-ups that state network access is prohibited in background processing, but I didn't read that in Apple's docs.

Does anyone know if it's kosher (wrt Apple policies) to make occasional and very quick network updates in a background process?

Edit
Report

1 Answer

2

Yes if you use background for just quick connection. Apple won't allow you to run in the background as you want.

NO If your app does not fall in the Voip, music or GPS category; then you can't run in background.

more here: Update my app when it is in background


You could use ASIHTTPRequest.

ASIHTTPRequest has a property setShouldContinueWhenAppEntersBackground:. default is NO, you may turn on YES so you have background network process.

answered 2012-03-08T06:09:05.390

Your Answer