Developer/iOS

[iOS] 쿠키 삭제하기

블로blow 2011. 12. 19. 01:47
728x90

NSHTTPCookie *cookie;

NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];

            for (cookie in [storage cookies]) {

                [storage deleteCookie:cookie];

            }

728x90