<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettingsUI",
  "identifier" : "/documentation/ManagedSettingsUI/ShieldConfigurationDataSource/configuration(shielding:)-18i24",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Managed Settings UI"
    ],
    "preciseIdentifier" : "s:17ManagedSettingsUI29ShieldConfigurationDataSourceC13configuration9shieldingAA0dE0V0aB09WebDomainV_tF"
  },
  "title" : "configuration(shielding:)"
}
-->

# configuration(shielding:)

Requests a configuration to use for a shield that covers a website.

```
func configuration(shielding webDomain: WebDomain) -> ShieldConfiguration
```

## Parameters

`webDomain`

The website that the shield covers.

## Return Value

The shield to display.

---

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)