---
title: webDomains
framework: managedsettings
role: symbol
role_heading: Instance Property
path: managedsettings/shieldsettings/webdomains-swift.property
---

# webDomains

Websites for the system to cover with a shielding view.

## Declaration

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

## Discussion

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.

## See Also

### Blocking apps and websites

- [applications](managedsettings/shieldsettings/applications-swift.property.md)
- [applications](managedsettings/shieldsettings/applications-swift.type.property.md)
- [webDomains](managedsettings/shieldsettings/webdomains-swift.type.property.md)
