<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/subscriptionStorePickerItemBackground(_:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP010_StoreKit_aB0E012subscriptionD20PickerItemBackground_2inQrqd___qd_0_tAA10ShapeStyleRd__AA0K0Rd_0_r0_lF"
  },
  "title" : "subscriptionStorePickerItemBackground(_:in:)"
}
-->

# subscriptionStorePickerItemBackground(_:in:)

Sets the background shape and style for subscription store view picker items within a view.

```
nonisolated func subscriptionStorePickerItemBackground(_ backgroundStyle: some ShapeStyle, in shape: some Shape) -> some View
```

## Parameters

`backgroundStyle`

A [`ShapeStyle`](/documentation/SwiftUI/ShapeStyle) that determines the background style for the
subscription store view picker items.

`shape`

An instance of a type that conforms to [`Shape`](/documentation/SwiftUI/Shape) and determines the shape of
the subscription store view picker items. Omit the shape parameter to use the
default shape.

## Discussion

Use this view modifier to customize the shape of the picker options in a subscription store view,
as well as the background style.

---

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)