---
title: "configuration(shielding:)"
framework: managedsettingsui
role: symbol
role_heading: Instance Method
path: "managedsettingsui/shieldconfigurationdatasource/configuration(shielding:)-18i24"
---

# configuration(shielding:)

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

## Declaration

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

## Parameters

- `webDomain`: The website that the shield covers.

## Return Value

Return Value The shield to display.

## See Also

### Styling a website shield

- [configuration(shielding:in:)](managedsettingsui/shieldconfigurationdatasource/configuration(shielding:in:)-6n6rd.md)
