<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "visionOS: 2.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFAddToHomeScreenInfo/websiteCookies",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "c:objc(cs)SFAddToHomeScreenInfo(py)websiteCookies"
  },
  "title" : "websiteCookies"
}
-->

# websiteCookies

```
var websiteCookies: [HTTPCookie] { get set }
```

## Discussion\abstract An optional item for providing the website’s cookies.
These will be copied to the Home Screen web app’s data store. This will
only be used if the manifest is non-nil and a Home Screen
web app is created, not a Home Screen Bookmark.

An array of cookies for the system to use when it accesses the web app.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)