Contents

configuration(shielding:in:)

Requests a configuration to use for a shield that covers a website because of its category.

Declaration

func configuration(shielding webDomain: WebDomain, in category: ActivityCategory) -> ShieldConfiguration

Parameters

  • webDomain:

    The website that the shield covers.

  • category:

    The category of the website that the shield covers.

Return Value

The shield to display.

See Also

Styling a website shield