问题描述
根据 Kindle V2.5 的最新更新,它支持在iOS 4设备上应用在后台时继续下载书籍".
As per the latest update of Kindle V2.5, it has support of "continue downloading books while the app is in the background on iOS 4 devices".
如何在后台下载内容?根据 iOS 多任务文档, 只有音频、voip &可以在后台进行位置更新.而且我还确保 NSURLConnection 在应用程序进入后台时不会下载新数据工作.那么 Kindle 应用怎么可能呢?
How is it possible to download content in background? As per the iOS multitasking documentation, only audio, voip & location updates are possible in background. And I've also maken sure that NSURLConnection doesn't download new data work while app goes background. Then how's it possible with Kindle app?
我没有在 iOS4 多任务设备中检查 Kindle 应用程序.因此,如果有人让我(和社区)知道 Kindle 应用程序到底要下载什么,那将非常有帮助.
I haven't checked Kindle App in iOS4 multitasking enabled device. So if anyone let me (& community) know what exactly Kindle app does to download, that would be very much helpful.
推荐答案
是的,你可以.返回您提到的文档,并检查在后台完成有限长度任务部分的代码.通过这种方式,您可以在后台运行通用任务,包括访问网络和上传文件.
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.
已我之前在 SO 上回答过类似的问题,请检查一下,iphone - 在后台连接到服务器
Edited: I answered a similar question on SO before, check this, iphone - Connecting to server in background
这篇关于使用 iOS4 在后台下载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)