根据 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 在后台下载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!