摘要: 需要注意的是,要做缓存的Http请求必须用get方法来获取数据。1、设置全局的Cache 在AppDelegate.h中添加一个全局变量@interface AppDelegate : UIResponder <UIApplicationDelegate> { ASIDownloadCache *myCache; } @property (strong, nonatomic) UIWindow *window; @property (nonatomic,retain) ASIDownloadCache *myCache; 在AppDelegate.m中的- (BOOL)applic 阅读全文
posted @ 2013-01-28 10:02 白条围巾 阅读(5060) 评论(0) 推荐(1) 编辑