关于iPhone的例子URLCache

tyoutk13520 2010-09-01 05:59:34
缓存怎么就指定到了《dataPath》里面了?没见到《dataPath》使用的地方啊。
...全文
30 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
tyoutk13520 2010-09-02
  • 打赏
  • 举报
回复
运气坏透了,太不顺利,现在连调查的方向都不清晰。
我刚又发了个新贴说明了一下,今天下午是最后的期限,估计我完蛋了。。。
云瑀 2010-09-01
  • 打赏
  • 举报
回复
URLCache
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.2

URLCache 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.

29,027

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧