Contents

configuration(shielding:in:)

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

Declaration

func configuration(shielding application: Application, in category: ActivityCategory) -> ShieldConfiguration

Parameters

  • application:

    The application the shield covers.

  • category:

    The category of the application that the shield covers.

Return Value

The shield to display.

See Also

Styling an application shield