<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/ShieldSettings/webDomains-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings06ShieldB0V10webDomainsShyAA5TokenVyAA9WebDomainVGGSgvp"
  },
  "title" : "webDomains"
}
-->

# webDomains

Websites for the system to cover with a shielding view.

```
var webDomains: Set<WebDomainToken>? { get set }
```

## Discussion

When the user visits a website in this list of domains,
the system calls your extension that customizes the shield’s appearance.
When the user taps on a button the shield displays,
the system calls your extension that handles user actions.
If your app doesn’t provide a list of domains to shield, this value is `nil`.
Your app can shield up to 50 web domain tokens at once.

---

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)