subscriptionStorePickerItemBackground(_:in:)
Sets the background shape and style for subscription store view picker items within a view.
Declaration
nonisolated func subscriptionStorePickerItemBackground(_ backgroundStyle: some ShapeStyle, in shape: some Shape) -> some View
Parameters
- backgroundStyle:
A Shapestyle that determines the background style for the subscription store view picker items.
- shape:
An instance of a type that conforms to 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.
See Also
Interacting with the App Store and Apple Music
appStoreOverlay(isPresented:configuration:)manageSubscriptionsSheet(isPresented:)refundRequestSheet(for:isPresented:onDismiss:)offerCodeRedemption(isPresented:onCompletion:)musicSubscriptionOffer(isPresented:options:onLoadCompletion:)currentEntitlementTask(for:priority:action:)inAppPurchaseOptions(_:)manageSubscriptionsSheet(isPresented:subscriptionGroupID:)onInAppPurchaseCompletion(perform:)onInAppPurchaseStart(perform:)productIconBorder()productViewStyle(_:)productDescription(_:)storeButton(_:for:)storeProductTask(for:priority:action:)