<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettingsUI",
  "identifier" : "/documentation/ManagedSettingsUI/ShieldConfiguration/init(backgroundBlurStyle:backgroundColor:icon:title:subtitle:primaryButtonLabel:primaryButtonBackgroundColor:secondaryButtonLabel:secondaryButtonSubmenuItems:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Managed Settings UI"
    ],
    "preciseIdentifier" : "s:17ManagedSettingsUI19ShieldConfigurationV19backgroundBlurStyle0F5Color4icon5title8subtitle18primaryButtonLabel0mn10BackgroundI009secondarynO00qN12SubmenuItemsACSo012UIBlurEffectH0VSg_So7UIColorCSgSo7UIImageCSgAC0O0VSgA2xrXSaySSGSgtcfc"
  },
  "title" : "init(backgroundBlurStyle:backgroundColor:icon:title:subtitle:primaryButtonLabel:primaryButtonBackgroundColor:secondaryButtonLabel:secondaryButtonSubmenuItems:)"
}
-->

# init(backgroundBlurStyle:backgroundColor:icon:title:subtitle:primaryButtonLabel:primaryButtonBackgroundColor:secondaryButtonLabel:secondaryButtonSubmenuItems:)

Initializes a shield configuration with optional submenu items for the secondary button.

```
init(backgroundBlurStyle: UIBlurEffect.Style? = nil, backgroundColor: UIColor? = nil, icon: UIImage? = nil, title: ShieldConfiguration.Label? = nil, subtitle: ShieldConfiguration.Label? = nil, primaryButtonLabel: ShieldConfiguration.Label? = nil, primaryButtonBackgroundColor: UIColor? = nil, secondaryButtonLabel: ShieldConfiguration.Label? = nil, secondaryButtonSubmenuItems: [String]? = nil)
```

## Parameters

`backgroundBlurStyle`

A blur style to apply to the background color.

`backgroundColor`

A color to display for the shield’s background.

`icon`

An icon to display on the shield.

`title`

A title for the shield.

`subtitle`

Additional text to display on the shield.

`primaryButtonLabel`

A label for the shield’s main button.

`primaryButtonBackgroundColor`

A background color for the shield’s main button.

`secondaryButtonLabel`

An additional button to display on the shield.

`secondaryButtonSubmenuItems`

A list of one to three items to display in a submenu after someone taps the secondary button.

## Discussion

This initializer extends the shield configuration structure to display a submenu when someone taps the secondary button.

---

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)