Deprecated NSHTTPCookieStorage Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in iOS 4.0 through iOS 4.3

initWithStorageLocation:

Returns an initialized NSHTTPCookieStorage object with a given file system location to store cookie information on disk. (Available in iOS 4.0 through iOS 4.3.)

- (id)initWithStorageLocation:(NSURL *)storageFileURL
Parameters
storageFileURL

A file:// URL that indicates the file to use for cookie storage.

Return Value

An initialized NSHTTPCookieStorage object that stores its cookie information at storageFileURL.

Availability
  • Available in iOS 4.0 through iOS 4.3.
Declared In
NSHTTPCookieStorage.h