缓存怎么就指定到了《dataPath》里面了?没见到《dataPath》使用的地方啊。
解决方案 »
- address doesn't contain a section that points to a section in a object file
- ios下如何获取CPU的使用率
- iphone如何调用外部程序打开一个pdf文件
- UIImageView不能显示
- 怎样搭建winXP上的iphone模拟平台?
- 深圳的朋友可以找我代刻iPhone SDK,我下了一晚上
- ios TableViewCell 布局异常。
- xcode
- 关于In-App Purchase的问题
- SOS!大神求救,iOS上架2.3.1被拒绝n次了,说有隐藏功能
- UIWebView的缓存
- 两个UIViewController之间的切换效果
Last Revision:
Version 1.1, 2010-06-25
Fixed several minor bugs. Upgraded project to build with iOS 4.0 SDK.
(Full Revision History)
Build Requirements:
iOS 4.0 SDK
Runtime Requirements:
iOS 3.2URLCache is a sample iPhone application that demonstrates how to download a resource off the web, store it in the application's data directory, and use the local copy of the resource. URLCache also demonstrates how to implement a couple of caching policies:- The local copy of a web resource should remain valid for a period of time (for example, one day) during which the web is not re-checked.- The HTTP header's Last-Modified date should be used to determine the last time a web resource changed before re-downloading it.The audience for this sample is iPhone developers using resources such as images that are retrieved or updated from the web.
官方範例