Instance Property

comment

The cookie’s comment string.

Declaration

var comment: String? { get }

Discussion

This value is nil if the cookie has no comment. You can present this string to the user, explaining the contents and purpose of this cookie.

See Also

Getting User-Readable Cookie Metadata

var commentURL: URL?

The cookie’s comment URL.

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