首页 > 代码库 > AFNetworking忽略缓存

AFNetworking忽略缓存

NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0
                                                        diskCapacity:0
                                                            diskPath:nil];
[NSURLCache setSharedURLCache:sharedCache];
[sharedCache release];

AFNetworking忽略缓存