Instance Method

deleteCookie:completionHandler:

Deletes the specified cookie.

Declaration

- (void)deleteCookie:(NSHTTPCookie *)cookie completionHandler:(void (^)(void))completionHandler;

Parameters

cookie

The cookie to delete.

completionHandler

A block to invoke once the cookie has been deleted.

See Also

Cookie Management

- getAllCookies:

Fetches all stored cookies.