Instance Property

path

The cookie’s path.

Declaration

@property(readonly, copy) NSString *path;

Discussion

The cookie will be sent with requests for this path in the cookie's domain, and all paths that have this prefix. A path of "/" means the cookie will be sent for all URLs in the domain.

See Also

Getting Cookie Host Properties

domain

The domain of the cookie.

portList

The cookie’s port list.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software