Develop
2014.04.08 20:46
[ios] UIWebView 캐쉬 삭제
조회 수 4429 댓글 0
// 모든 캐쉬 삭제
NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; for (NSHTTPCookie *cookie in [storage cookies]) { [storage deleteCookie:cookie]; }
// URL 에 해당하는 캐쉬 삭제
NSHTTPCookieStorage* cookies = [NSHTTPCookieStorage sharedHTTPCookieStorage]; NSArray *facebookCookies = [cookies cookiesForURL:[NSURL URLWithString:@"http://m.facebook.com"]]; for (NSHTTPCookie *cookie in facebookCookies) { [cookies deleteCookie:cookie]; }
-
[js] Javascript로 만든 포트리스 (2010)
-
[Android Error] The number of method references in a .dex file cannot exceed 64K
-
[php][laravel] 라라벨 개발환경 세팅하기 (Mac, Window)
-
[js] show/hide 이벤트 감시 (Observing show/hide event)
-
[ios] 웹뷰 history.back() ㅋㄷ
-
[php] Connect to Firebase Console in Laravel
-
[ios] UITableView 특정 Row만 Update
-
[ios] Swift 4 Singleton inheritance
-
[android] 버전 별 앱 알림 설정으로 이동하는 방법
-
Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
-
[ios] NSString, RegularExpression Find/Replace
-
How to Test SMTP AUTH using Telnet