Download data in background with iOS4

坚强是说给别人听的谎言 提交于 2019-11-27 22:37:17
Di Wu

Yes you can. Go back to the document you mentioned, and check the code at the Completing a Finite Length Task in the Background section. In this way you can run generic tasks in the background, including accessing the network and uploading files.

Edited: I answered a similar question on SO before, check this, iphone - Connecting to server in background

Completing a Finite Length Task in the Background

You can use these methods to do pretty much anything you want, but you've got to finish it all up in <10 minutes. I use it to continue uploading an image after the app has closed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!