Created
April 10, 2011 11:29
-
-
Save yeonsh/912267 to your computer and use it in GitHub Desktop.
NSURLConnection의 Cache 삭제
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void) clearNSURLConnectionCache | |
{ | |
NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil]; | |
[NSURLCache setSharedURLCache:sharedCache]; | |
[sharedCache release]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment